diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 0efa021..e564d20 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -25,6 +25,8 @@ jobs: uses: securego/gosec@v2.21.3 with: args: '-no-fail -fmt sarif -out results.sarif -tests ./...' + - name: Fix SARIF format + run: yq --inplace --output-format json 'del(.runs.[].results.[].fixes)' results.sarif - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3 with: