CI: dont run aarch64-mac workflow on forks

The workflow uses a self hosted runner which is only available for
hexops/mach* repositories. Without this commit, whenever a fork of mach
or mach-* were pushed, it would queue an aarch64-mac job and then crash
after one day due to no machines being found.
This commit is contained in:
iddev5 2022-04-19 17:54:06 +05:30 committed by Stephen Gutekanst
parent fde336736d
commit bb65083561
3 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,7 @@ on:
jobs:
aarch64-macos:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: github.repository == 'hexops/mach-gpu-dawn'
runs-on: [self-hosted, macOS, ARM64]
defaults:
run: