From 6225a95822b60309e4b8d0ef4c2be093e584d203 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 23 Sep 2024 12:20:21 -0700 Subject: [PATCH] Don't upload during cancelled jobs --- .github/workflows/pr-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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