Skip to content

Commit

Permalink
using sarif
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Dec 10, 2024
1 parent 4a69603 commit 623d663
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,15 @@ jobs:
with:
category: "/language:c-cpp"
output: sarif-results
upload: failure-only

- name: filter-sarif
uses: advanced-security/filter-sarif@main
with:
patterns: |
-**/*
+src/**/*
input: sarif-results
input: sarif-results/c-cpp.sarif
output: sarif-results/c-cpp.sarif

- name: Upload SARIF
Expand Down

0 comments on commit 623d663

Please sign in to comment.