ci: fix gosec (#24132)
This commit is contained in:
parent
49be51a951
commit
7ccf478fd6
4
.github/workflows/gosec.yml
vendored
4
.github/workflows/gosec.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user