Skip to content

Commit

Permalink
Update codeql-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker authored Sep 10, 2024
1 parent 54ac129 commit e4a8b61
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,24 @@ jobs:
COMPONENT_PATH: 'cfe'
MAKE_COMMAND: 'make -j8'
TEST_FLAG: 'true'


- name: filter-sarif
uses: advanced-security/filter-sarif@v1
with:
patterns: |
-**/*.md
-**/*.txt
-**/*.dox
input: Codeql-${{ matrix.scan-type }}.sarif
output: Codeql-${{ matrix.scan-type }}.sarif

- name: Archive Sarif
uses: actions/upload-artifact@v4
with:
name: CodeQL-Sarif
path: CodeQL-Sarif
name: CodeQL-Sarif-${{ matrix.scan-type }}
path: CodeQL-${{ matrix.scan-type }}

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: CodeQL-Sarif-${{ matrix.scan-type }}/Codeql-${{ matrix.scan-type }}.sarif

sarif_file: Codeql-${{ matrix.scan-type }}.sarif

0 comments on commit e4a8b61

Please sign in to comment.