DEV: Skip 'push' workflow events for discourse-private-mirror (#19556)
We don't want 'push' workflows to run on this private fork (which is used for developing security-fixes before public disclosure)
This commit is contained in:
parent
f1ec8c869a
commit
7eb9482ba9
|
@ -15,6 +15,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-fork')"
|
||||
name: run
|
||||
runs-on: ubuntu-latest
|
||||
container: discourse/discourse_test:slim
|
||||
|
|
|
@ -15,6 +15,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-fork')"
|
||||
name: run
|
||||
runs-on: ubuntu-latest
|
||||
container: discourse/discourse_test:slim
|
||||
|
|
|
@ -17,6 +17,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-fork')"
|
||||
name: ${{ matrix.target }} ${{ matrix.build_type }}
|
||||
runs-on: ${{ (matrix.build_type == 'annotations') && 'ubuntu-latest' || 'ubuntu-20.04-8core' }}
|
||||
container: discourse/discourse_test:slim${{ (matrix.build_type == 'frontend' || matrix.build_type == 'system') && '-browsers' || '' }}
|
||||
|
@ -203,6 +204,7 @@ jobs:
|
|||
timeout-minutes: 30
|
||||
|
||||
core_frontend_tests:
|
||||
if: "!(github.event_name == 'push' && github.repository == 'discourse/discourse-private-fork')"
|
||||
name: core frontend (${{ matrix.browser }})
|
||||
runs-on: ubuntu-20.04-8core
|
||||
container:
|
||||
|
|
Loading…
Reference in New Issue