ci: fix gosec (#24132)

This commit is contained in:
Alex | Interchain Labs 2025-03-25 15:27:54 -04:00 committed by GitHub
parent 49be51a951
commit 7ccf478fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,11 +28,9 @@ jobs:
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
# we let the report trigger content trigger a failure using the GitHub Security features.
args: "-exclude=G101,G107 -no-fail -fmt sarif -out results.sarif ./..."
args: "-exclude=G101,G107 -skip-files \".*(\\.pulsar\\.go|\\.pb\\.go)$\" -no-fail -fmt sarif -out results.sarif ./..."
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif