Skip to content

Commit 4ff02e6

Browse files
committed
added html report
1 parent fd6679f commit 4ff02e6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/codeql-multiple-repo-scan.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,7 @@ jobs:
4747
- name: Install Python dependencies for Coding Standards scripts
4848
run: |
4949
python3 -m pip install --upgrade pip
50-
pip3 install pyyaml jsonpath-ng jsonschema jsonpatch jsonpointer pytest
51-
52-
- name: Setup Node.js for sarif-tools
53-
uses: actions/setup-node@v4
54-
with:
55-
node-version: '20'
56-
57-
- name: Install sarif-tools
58-
run: npm install -g sarif-tools
50+
pip3 install pyyaml jsonpath-ng jsonschema jsonpatch jsonpointer pytest sarif-tools
5951
6052
- name: Parse known_good.json and create repos.json
6153
id: parse-repos
@@ -197,7 +189,7 @@ jobs:
197189
198190
- name: Generate HTML Report from SARIF
199191
run: |
200-
sarif-tools convert sarif-results/*.sarif -o codeql-report.html
192+
sarif html sarif-results/*.sarif > codeql-report.html
201193
202194
- name: Upload SARIF results as artifact
203195
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)