diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 82a57a4663..f1cbf0c5db 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -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