Merge pull request #1761 from SimonMarquis/patch-2

Check presence of sarif files before executing `codeql-action/upload-sarif`
pull/1794/head
Don Turner 9 months ago committed by GitHub
commit 39a9ea1798
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -151,7 +151,7 @@ jobs:
path: '**/build/reports/lint-results-*.html' path: '**/build/reports/lint-results-*.html'
- name: Upload lint reports (SARIF) - name: Upload lint reports (SARIF)
if: always() if: ${{ !cancelled() && hashFiles('**/*.sarif') != '' }}
uses: github/codeql-action/upload-sarif@v3 uses: github/codeql-action/upload-sarif@v3
with: with:
sarif_file: './' sarif_file: './'

Loading…
Cancel
Save