We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ab644 commit d949aa6Copy full SHA for d949aa6
.github/workflows/codacy.yml
@@ -55,7 +55,18 @@ jobs:
55
max-allowed-issues: 2147483647
56
57
# Upload the SARIF file generated in the previous step
58
- - name: Upload SARIF results file
+ #- name: Upload SARIF results file
59
+ # uses: github/codeql-action/upload-sarif@v3
60
+ # with:
61
+ # sarif_file: results.sarif
62
+
63
+ # --- NEW: Reset GitHub Code Scanning alerts it suck on github, use the codacy app ---
64
+ - name: Reset GitHub Code Scanning alerts
65
+ run: |
66
+ echo '{"$schema":"https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0.json","version":"2.1.0","runs":[]}' > empty.sarif
67
+ shell: bash
68
69
+ - name: Upload empty SARIF
70
uses: github/codeql-action/upload-sarif@v3
71
with:
- sarif_file: results.sarif
72
+ sarif_file: empty.sarif
0 commit comments