Merge pull request #1914 from SimonMarquis/fix-lint-sarif

Fix issue with `github/codeql-action/upload-sarif@v3`
pull/1918/head
Don Turner 2 months ago committed by GitHub
commit fffa526185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -140,11 +140,26 @@ jobs:
name: lint-reports name: lint-reports
path: '**/build/reports/lint-results-*.html' path: '**/build/reports/lint-results-*.html'
- name: Upload lint reports (SARIF) - name: Upload lint reports (SARIF) for app module
if: ${{ !cancelled() && hashFiles('**/*.sarif') != '' }} if: ${{ !cancelled() && hashFiles('app/**/*.sarif') != '' }}
uses: github/codeql-action/upload-sarif@v3 uses: github/codeql-action/upload-sarif@v3
with: with:
sarif_file: './' sarif_file: './app/'
category: app
- name: Upload lint reports (SARIF) for app-nia-catalog module
if: ${{ !cancelled() && hashFiles('app-nia-catalog/**/*.sarif') != '' }}
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: './app-nia-catalog/'
category: app-nia-catalog
- name: Upload lint reports (SARIF) for lint module
if: ${{ !cancelled() && hashFiles('lint/**/*.sarif') != '' }}
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: './lint/'
category: lint
- name: Check badging - name: Check badging
run: ./gradlew :app:checkProdReleaseBadging run: ./gradlew :app:checkProdReleaseBadging

Loading…
Cancel
Save