Skip to content

Commit

Permalink
Remove unnecessary CodeQL SARIF upload
Browse files Browse the repository at this point in the history
It seems the github/codeql-action/analyze GHA takes care of uploading
the SARIF so we don't need to do it ourselves.

Trying to do so fails with:

  Error: Aborting upload: only one run of the codeql/analyze or
  codeql/upload-sarif actions is allowed per job per tool/category.

Signed-off-by: Daniel Farrell <[email protected]>
  • Loading branch information
dfarrell07 authored and skitt committed Aug 29, 2022
1 parent b847c61 commit afecbec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,3 @@ jobs:
- name: Show CodeQL scan SARIF report
if: always()
run: cat ../results/go.sarif
- name: Upload CodeQL scan SARIF report
if: always()
uses: github/codeql-action/upload-sarif@7fee4ca032ac341c12486c4c06822c5221c76533
with:
sarif_file: ../results/go.sarif

0 comments on commit afecbec

Please sign in to comment.