diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml index 7bedc1dfc9..f35cdd0065 100644 --- a/.github/workflows/licenses.yml +++ b/.github/workflows/licenses.yml @@ -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 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 2522c36d4f..b9f7c855c0 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 129966e580..022b5bcc37 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: