Merge pull request #1761 from SimonMarquis/patch-2

Check presence of sarif files before executing `codeql-action/upload-sarif`
pull/1837/head
Don Turner 9 months ago committed by GitHub
commit e0e1ae18c3

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

Loading…
Cancel
Save