Skip to content

Commit 2d7c470

Browse files
Perdigafelickz
andauthored
Fix workflow documentation (#230)
* Fix workflow documentation This resolves: #227 The documented workflow fails to upload the SARIF file because it references the wrong property, causing the file not to be found. This update corrects that issue. * Update workflows.md * Update workflows.md * Update comment for CodeQL tool name display Clarify comment regarding tool name display for CodeQL. * 🦵 --------- Co-authored-by: Chad Bentz <[email protected]>
1 parent 2b5a2cb commit 2d7c470

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/workflows.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,14 @@ jobs:
5151
- name: Initialize and Analyze IaC
5252
id: codeql_iac
5353
uses: advanced-security/[email protected]
54-
55-
- name: Upload SARIF file
54+
# Uncomment if you want to show the tool name as CodeQL instead of CodeQL-IaC (NOTE: this may conflict with Default Setup)
55+
#with:
56+
# rewrite-sarif-tool-name: false
57+
58+
- name: "Upload SARIF file"
5659
uses: github/codeql-action/upload-sarif@v3
5760
with:
58-
sarif_file: ${{ steps.codeql_iac.outputs.sarif }}
61+
sarif_file: ${{ steps.codeql_iac.outputs.sarif-results }}
5962
```
6063

6164
## CodeQL CLI

0 commit comments

Comments
 (0)