diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2023-11-13 18:18:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 18:18:20 +0100 |
commit | 635cb152e7daac658223455aaab2f81204b5b215 (patch) | |
tree | 687068a9c6468ec62336b45375ff8ced53b0b98b /.github/workflows/codeql-analysis.yml | |
parent | b1e66a5faaf46ffcbcc27c79a9a224aaf851a987 (diff) | |
download | jquery-635cb152e7daac658223455aaab2f81204b5b215.tar.gz jquery-635cb152e7daac658223455aaab2f81204b5b215.zip |
Build: Don't run CI push workflows for dependabot branches
Without this change, dependabot PRs run double checks - one set for the `push`
part and one for the `pull_request` part.
Closes gh-5353
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e0680cf2c..d2cb93885 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,8 +1,9 @@ name: "Code scanning - action" on: - push: pull_request: + push: + branches-ignore: "dependabot/**" schedule: - cron: '0 4 * * 6' @@ -30,7 +31,7 @@ jobs: # the head of the pull request instead of the merge commit. - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} - + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 |