Skip to content

Commit

Permalink
Don't upload during cancelled jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg authored Sep 23, 2024
1 parent 9580b7e commit 6225a95
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' && !startsWith(github.head_ref, 'dependabot/')"
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 6225a95

Please sign in to comment.