Skip to content

Commit

Permalink
test jq fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Dec 15, 2023
1 parent c53eb62 commit f17ca26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/spotbugs-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Build with Gradle
run: ./gradlew spotbugsRelease spotbugsMain

- name: Fix SARIF
run: cat <<< $(jq '.runs |= map( if .taxonomies == [null] then .taxonomies = [] else . end)' ./build/spotbugs/spotbugs-support.sarif) > ./build/spotbugs/spotbugs-support.sarif

- name: upload SARIF
uses: github/codeql-action/upload-sarif@v2
with:
Expand Down

0 comments on commit f17ca26

Please sign in to comment.