Skip to content

Commit 001d7a0

Browse files
committed
Expose SARIF results as separate artifact
1 parent 79f26ce commit 001d7a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/upload-sarif.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- name: Run ESLint
1919
# eslint exits 1 if it finds anything to report
2020
run: node_modules/.bin/eslint index.js -f node_modules/@microsoft/eslint-formatter-sarif/sarif.js -o results.sarif || true
21+
- name: Expose report
22+
uses: actions/upload-artifact@v2
23+
with:
24+
name: SARIF results
25+
path: results.sarif
2126
# Uploads results.sarif to GitHub repository using the upload-sarif action
2227
- uses: github/codeql-action/upload-sarif@v1
2328
with:

0 commit comments

Comments
 (0)