From 54697c3d2cc4115401f2828a076d45782e5787cb Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Sun, 22 Dec 2024 09:40:06 +0100 Subject: [PATCH 1/2] Disable NightlyBaselineProfiles workflow on forks --- .github/workflows/NightlyBaselineProfiles.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/NightlyBaselineProfiles.yaml b/.github/workflows/NightlyBaselineProfiles.yaml index a6914b6b52..580d5f420e 100644 --- a/.github/workflows/NightlyBaselineProfiles.yaml +++ b/.github/workflows/NightlyBaselineProfiles.yaml @@ -7,6 +7,7 @@ on: jobs: baseline_profiles: name: "Generate Baseline Profiles" + if: github.repository == 'android/nowinandroid' runs-on: ubuntu-latest permissions: From 939e714da2eee8822698fbd3afe7218bd79ee7cb Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Sun, 22 Dec 2024 09:41:51 +0100 Subject: [PATCH 2/2] Disable Release workflow on forks --- .github/workflows/Release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 149a7bb6fd..b952ccb507 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -7,6 +7,7 @@ on: jobs: build: + if: github.repository == 'android/nowinandroid' runs-on: ubuntu-latest timeout-minutes: 120