Skip to content

Commit

Permalink
Merge pull request #2499 from github/aeisenberg/no-upload-sarif
Browse files Browse the repository at this point in the history
Avoid uploading eslint sarif for dependabot PR
  • Loading branch information
aeisenberg committed Sep 23, 2024
2 parents ef13051 + 6225a95 commit 2cddcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Upload sarif
uses: github/codeql-action/upload-sarif@v3
# Only upload SARIF for the latest version of Node.js
if: "always() && matrix.node-types-version == 'current'"
if: "!cancelled() && matrix.node-types-version == 'current' && !startsWith(github.head_ref, 'dependabot/')"
with:
sarif_file: eslint.sarif
category: eslint
Expand Down

0 comments on commit 2cddcb1

Please sign in to comment.