Skip to content

Commit

Permalink
Fix SARIF report example (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
airadier authored Jul 16, 2021
1 parent 858e61f commit 768d762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ and then add another step for uploading the SARIF report, providing the path in
```yaml
...
- uses: github/codeql-action/upload-sarif@v1
with:
if: always()
sarif_file: ${{ steps.scan.outputs.sarifReport }}
with:
if: always()
sarif_file: ${{ steps.scan.outputs.sarifReport }}
```

The `if: always()` option makes sure the SARIF report is uploaded even if the scan fails and interrupts the workflow.
Expand Down

0 comments on commit 768d762

Please sign in to comment.