From ed713736273b008a0529205bfba636718e363620 Mon Sep 17 00:00:00 2001 From: Stefan Dietz Date: Mon, 18 Dec 2023 11:31:03 +0100 Subject: [PATCH] Disable actions codeql and stale on forks --- .github/workflows/codeql.yml | 1 + .github/workflows/stale.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eaf967a928..00c8e96431 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,6 +22,7 @@ on: jobs: analyze: + if: github.repository == 'public-ui/kolibri' name: Analyze # 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/stale.yml b/.github/workflows/stale.yml index 77b2a289c4..8163a730f4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,6 +8,7 @@ on: jobs: stale: + if: github.repository == 'public-ui/kolibri' runs-on: ubuntu-latest steps: - uses: actions/stale@v8