Skip to content

Commit 768d762

Browse files
authored
Fix SARIF report example (#16)
1 parent 858e61f commit 768d762

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ and then add another step for uploading the SARIF report, providing the path in
8888
```yaml
8989
...
9090
- uses: github/codeql-action/upload-sarif@v1
91-
with:
92-
if: always()
93-
sarif_file: ${{ steps.scan.outputs.sarifReport }}
91+
with:
92+
if: always()
93+
sarif_file: ${{ steps.scan.outputs.sarifReport }}
9494
```
9595

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

0 commit comments

Comments
 (0)