Skip to content

Commit

Permalink
CI: dont run aarch64-mac workflow on forks
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iddev5 authored and emidoots committed Apr 20, 2022
1 parent 59f2507 commit 6e0531a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/m1_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6e0531a

Please sign in to comment.