Skip to content

Commit

Permalink
Generate report for code-ql
Browse files Browse the repository at this point in the history
Generate security report.

Signed-off-by: YadongQi <yadong.qi@intel.com>
  • Loading branch information
YadongQi authored and sysopenci committed Jul 23, 2024
1 parent 8024375 commit 2dc2111
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,22 @@ jobs:
with:
sarif_file: sarif-results/cpp-filtered.sarif

- run: |
mkdir sarif-report
cp sarif-results/cpp-filtered.sarif sarif-report/
- name: Generate Security Report
uses: rsdmike/github-security-report-action@v3.0.4
with:
token: ${{ secrets.github_token }}
sarifReportDir: sarif-report
template: report

- name: artifacts
uses: actions/upload-artifact@v4
with:
name: sarif-results
path: sarif-results
path: |
sarif-results
report.pdf

0 comments on commit 2dc2111

Please sign in to comment.