Always upload eslint.sarif
This commit is contained in:
parent
e817992b3d
commit
0d0f998f28
1 changed files with 2 additions and 1 deletions
3
.github/workflows/pr-checks.yml
vendored
3
.github/workflows/pr-checks.yml
vendored
|
|
@ -24,12 +24,13 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
id: lint
|
||||||
run: npm run-script lint-ci
|
run: npm run-script lint-ci
|
||||||
|
|
||||||
- name: Upload sarif
|
- name: Upload sarif
|
||||||
uses: github/codeql-action/upload-sarif@v3
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
# Only upload SARIF for the latest version of Node.js
|
# Only upload SARIF for the latest version of Node.js
|
||||||
if: matrix.node-types-version == 'current'
|
if: "always() && matrix.node-types-version == 'current'"
|
||||||
with:
|
with:
|
||||||
sarif_file: eslint.sarif
|
sarif_file: eslint.sarif
|
||||||
category: eslint
|
category: eslint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue