diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml index a92206efa9..f626970ae3 100644 --- a/.github/workflows/gosec.yml +++ b/.github/workflows/gosec.yml @@ -29,7 +29,7 @@ jobs: uses: securego/gosec@master with: # we let the report trigger content trigger a failure using the GitHub Security features. - args: "-exclude=G101 -no-fail -fmt sarif -out results.sarif ./..." + args: "-exclude=G101,G107 -no-fail -fmt sarif -out results.sarif ./..." - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v2