Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Li Xun <xun.li@intel.com>
  • Loading branch information
llly authored Jun 19, 2024
1 parent 3f1c4f4 commit cebf7e5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
category: "/language:${{matrix.language}}"
output: sarif-results
upload: failure-only

- name: check
run: ls sarif-results

- name: Filter SARIF
uses: advanced-security/filter-sarif@v1
Expand All @@ -107,10 +104,10 @@ jobs:
-QuoteVerification/QuoteVerificationService
-QuoteVerification/QVL
-QuoteVerification/sgxssl
input: sarif-results/c.sarif
output: sarif-results/c.sarif
input: sarif-results/${{ (matrix.language == 'c-cpp' && cpp) || ${{matrix.language}} }}.sarif
output: sarif-results/${{ (matrix.language == 'c-cpp' && cpp) || ${{matrix.language}} }}.sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: sarif-results/c.sarif
sarif_file: sarif-results/${{ (matrix.language == 'c-cpp' && cpp) || ${{matrix.language}} }}.sarif

0 comments on commit cebf7e5

Please sign in to comment.