From fdf2494cfaedec46c06ed52ac75422890ebb240f Mon Sep 17 00:00:00 2001 From: Chris Gavin <chris@chrisgavin.me> Date: Tue, 23 Feb 2021 11:43:40 +0000 Subject: [PATCH] Don't run update release branch workflow on forks. --- .github/workflows/update-release-branch.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-release-branch.yml b/.github/workflows/update-release-branch.yml index f0abef5be..a4989fb89 100644 --- a/.github/workflows/update-release-branch.yml +++ b/.github/workflows/update-release-branch.yml @@ -12,6 +12,7 @@ on: jobs: update: runs-on: ubuntu-latest + if: ${{ github.repository == 'github/codeql-action' }} steps: - uses: actions/checkout@v2 with: