Skip to content

Commit 9f408f9

Browse files
committed
Use results.sarif.json
1 parent 001d7a0 commit 9f408f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/upload-sarif.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
# Runs the ESlint code analysis
1818
- name: Run ESLint
1919
# eslint exits 1 if it finds anything to report
20-
run: node_modules/.bin/eslint index.js -f node_modules/@microsoft/eslint-formatter-sarif/sarif.js -o results.sarif || true
20+
run: node_modules/.bin/eslint index.js -f node_modules/@microsoft/eslint-formatter-sarif/sarif.js -o results.sarif.json || true
2121
- name: Expose report
2222
uses: actions/upload-artifact@v2
2323
with:
2424
name: SARIF results
25-
path: results.sarif
25+
path: results.sarif.json
2626
# Uploads results.sarif to GitHub repository using the upload-sarif action
2727
- uses: github/codeql-action/upload-sarif@v1
2828
with:
2929
# Path to SARIF file relative to the root of the repository
30-
sarif_file: results.sarif
30+
sarif_file: results.sarif.json

0 commit comments

Comments
 (0)