File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 5353 # Force 0 exit code to allow SARIF file generation
5454 # This will handover control about PR rejection to the GitHub side
5555 max-allowed-issues : 2147483647
56-
57- # Upload the SARIF file generated in the previous step
58- # - 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 :
72- sarif_file : empty.sarif
You can’t perform that action at this time.
0 commit comments