From 6e0531ad625db509f187b8902f90dc6e7a8f1d94 Mon Sep 17 00:00:00 2001 From: iddev5 Date: Tue, 19 Apr 2022 17:54:06 +0530 Subject: [PATCH] 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. --- .github/workflows/m1_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/m1_ci.yml b/.github/workflows/m1_ci.yml index 6d5be3be0..a0086e6c9 100644 --- a/.github/workflows/m1_ci.yml +++ b/.github/workflows/m1_ci.yml @@ -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: