Skip to content

Commit 2c3064d

Browse files
authored
Merge pull request #49 from advanced-security/GeekMasher/update-ql-for-ql
Update ql-for-ql to make it update the SARIF file tool name to be `CodeQL-Extractor` and overwrite the file
2 parents 999d7b9 + 9dfdd2f commit 2c3064d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/codeql-ql.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ jobs:
105105
106106
echo "sarif=$SARIF_FILE" >> "$GITHUB_OUTPUT"
107107
108+
- name: Update SARIF file tool name
109+
run: |
110+
jq '.runs[].tool.driver.name = "CodeQL-Extractor"' ${{ steps.run_ql.outputs.sarif }} > updated_sarif.sarif
111+
mv updated_sarif.sarif ${{ steps.run_ql.outputs.sarif }}
112+
108113
- name: Upload SARIF file
109114
uses: github/codeql-action/upload-sarif@v3
110115
with:

0 commit comments

Comments
 (0)