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 7b24bf8 commit 7656c1cCopy full SHA for 7656c1c
1 file changed
.github/workflows/main.yml
@@ -86,7 +86,16 @@ jobs:
86
pipeline-results-json: results.json
87
output-results-sarif: veracode-results.sarif
88
finding-rule-level: "4:3:0"
89
- - uses: github/codeql-action/upload-sarif@v3
+
90
+ - name: Check for SARIF
91
+ id: check_sarif
92
+ uses: andstor/file-existence-action@v1
93
+ with:
94
+ files: "veracode-results.sarif"
95
96
+ - name: Upload SARIF
97
+ if: steps.check_sarif.outputs.files_exists == 'true'
98
+ uses: github/codeql-action/upload-sarif@v3
99
with:
100
# Path to SARIF file relative to the root of the repository
101
sarif_file: veracode-results.sarif
0 commit comments