Skip to content

Commit 2cddcb1

Browse files
authored
Merge pull request #2499 from github/aeisenberg/no-upload-sarif
Avoid uploading eslint sarif for dependabot PR
2 parents ef13051 + 6225a95 commit 2cddcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Upload sarif
3131
uses: github/codeql-action/upload-sarif@v3
3232
# Only upload SARIF for the latest version of Node.js
33-
if: "always() && matrix.node-types-version == 'current'"
33+
if: "!cancelled() && matrix.node-types-version == 'current' && !startsWith(github.head_ref, 'dependabot/')"
3434
with:
3535
sarif_file: eslint.sarif
3636
category: eslint

0 commit comments

Comments
 (0)