diff options
author | sr55 <[email protected]> | 2020-04-04 14:12:59 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2020-04-04 14:38:39 +0100 |
commit | a4b7913ddf26afad250502901a90c44ed0f30394 (patch) | |
tree | 1f311526f97a8a0dbbf877ef35cabbf583c1d001 | |
parent | 623d6b9906537335db711768b5900863d37a9807 (diff) |
actions: Disable running on forked repos. Seems to be some instability in the platform right now generating complaints. We'll review again opening this up at a later date.
-rw-r--r-- | .github/workflows/linux.yml | 11 | ||||
-rw-r--r-- | .github/workflows/mac.yml | 11 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index faa29faab..575ed9f6c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -3,9 +3,20 @@ name: Linux Build on: [push, pull_request] jobs: + + handle_forks: + name: Forked Repo + runs-on: ubuntu-latest + if: github.repository != 'HandBrake/HandBrake' + steps: + - name: Print Warning + run: | + echo "Builds are disabled for forked repositories." + build: name: Build on Ubuntu runs-on: ubuntu-latest + if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 6cdd9894b..bada59caf 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -3,9 +3,20 @@ name: macOS build on: [push, pull_request] jobs: + handle_forks: + name: Forked Repo + runs-on: ubuntu-latest + if: github.repository != 'HandBrake/HandBrake' + steps: + - name: Print Warning + run: | + echo "Builds are disabled for forked repositories." + + build: name: Build on macOS runs-on: macOS-latest + if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index cdcd7787c..0fe0c287a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -3,9 +3,19 @@ name: Windows Build on: [push, pull_request] jobs: + handle_forks: + name: Forked Repo + runs-on: ubuntu-latest + if: github.repository != 'HandBrake/HandBrake' + steps: + - name: Print Warning + run: | + echo "Builds are disabled for forked repositories." + build_mingw: name: CLI / LibHB runs-on: ubuntu-latest + if: github.repository == 'HandBrake/HandBrake' steps: - uses: actions/checkout@master @@ -57,6 +67,7 @@ jobs: build_gui: name: Windows UI runs-on: windows-latest + if: github.repository == 'HandBrake/HandBrake' needs: build_mingw env: SigningCertificate: ${{ secrets.HandBrakeTeam_SignFile }} |