From 77e6166679c7e76862291de565024defaaa7a84c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 30 Nov 2022 10:28:13 +0000 Subject: [PATCH 1/2] GA: run development_freeze only on main repository No point in running this checker on other forks --- .github/workflows/development_freeze.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/development_freeze.yml b/.github/workflows/development_freeze.yml index 7932373e86..5124d85ac8 100644 --- a/.github/workflows/development_freeze.yml +++ b/.github/workflows/development_freeze.yml @@ -13,6 +13,7 @@ permissions: jobs: freezer: runs-on: ubuntu-22.04 + if: github.repository == 'systemd/systemd' permissions: pull-requests: write From c1fb3319cea0d902086f2287eb4209c1ddea3e39 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Wed, 30 Nov 2022 10:28:34 +0000 Subject: [PATCH 2/2] GA: do not run codeql on systemd-security Scanning is not available on private repositories --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8b21b5da46..fc60df264e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,6 +26,7 @@ permissions: jobs: analyze: name: Analyze + if: github.repository != 'systemd/systemd-security' runs-on: ubuntu-22.04 concurrency: group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }}