Skip to content

Commit

Permalink
Codacy: Apply workaround for SARIF problem
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Feb 7, 2024
1 parent 367f922 commit d8d7974
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ jobs:
# This will hand over control about PR rejection to the GitHub side
max-allowed-issues: 2147483647

- name: Clean duplicates
run:
jq '.runs |= unique_by({tool, invocations, results})' <results.sarif >codacy.sarif

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: results.sarif
sarif_file: codacy.sarif

0 comments on commit d8d7974

Please sign in to comment.