summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac.yml
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-04-04 14:12:59 +0100
committersr55 <[email protected]>2020-04-04 14:38:39 +0100
commita4b7913ddf26afad250502901a90c44ed0f30394 (patch)
tree1f311526f97a8a0dbbf877ef35cabbf583c1d001 /.github/workflows/mac.yml
parent623d6b9906537335db711768b5900863d37a9807 (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.
Diffstat (limited to '.github/workflows/mac.yml')
-rw-r--r--.github/workflows/mac.yml11
1 files changed, 11 insertions, 0 deletions
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