From 565d097416a9a3dc83c40b19538c03afb328d237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?= Date: Fri, 13 Dec 2024 15:16:58 -0500 Subject: [PATCH 1/2] chore: Filter scheduled actions to the main repo --- .github/workflows/codeql.yml | 1 + .github/workflows/labeler.yml | 1 + .github/workflows/no-response.yml | 1 + .github/workflows/scorecard.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7144510086ce..02c6f87c1086 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,6 +21,7 @@ on: jobs: analyze: + if: github.repository == 'unoplatform/uno' name: Analyze (${{ matrix.language }}) # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4cdeaa6672b0..25bae584e6ca 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -4,6 +4,7 @@ on: jobs: triage: + if: github.repository == 'unoplatform/uno' permissions: contents: read pull-requests: write diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index d5491846c53f..b9d4639eca83 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -11,6 +11,7 @@ on: jobs: noResponse: + if: github.repository == 'unoplatform/uno' runs-on: ubuntu-latest steps: - uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # 0.5.0 diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 76145136eae9..fc6097509379 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -19,6 +19,7 @@ permissions: read-all jobs: analysis: + if: github.repository == 'unoplatform/uno' name: Scorecard analysis runs-on: ubuntu-latest permissions: From 10db86dd4851fc6d418cd4b71b0d2fa03b15451d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?= Date: Fri, 13 Dec 2024 15:19:21 -0500 Subject: [PATCH 2/2] chore: Disable uwp convert for forks --- .github/workflows/uwp-autoconvert.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/uwp-autoconvert.yml b/.github/workflows/uwp-autoconvert.yml index 0170b8d66328..9677acb1ac33 100644 --- a/.github/workflows/uwp-autoconvert.yml +++ b/.github/workflows/uwp-autoconvert.yml @@ -17,6 +17,7 @@ env: jobs: build: + if: github.repository == 'unoplatform/uno' name: update-uwp-branch runs-on: windows-latest steps: