From 6eb8e3947742859e1b3f6d77a16127434b9ee2a4 Mon Sep 17 00:00:00 2001 From: zakir <80246097+zakir-code@users.noreply.github.com> Date: Thu, 2 Jan 2025 11:47:41 +0800 Subject: [PATCH] chore(gosec): exclude rule G304 from security scan (#860) --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index de9eb1b6..1598c5d1 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -47,7 +47,7 @@ jobs: uses: securego/gosec@master with: # we let the report trigger content trigger a failure using the GitHub Security features. - args: "-exclude=G101,G107,G115 -no-fail -fmt sarif -out results.sarif ./..." + args: "-exclude=G101,G107,G115,G304 -no-fail -fmt sarif -out results.sarif ./..." - name: Upload SARIF file uses: github/codeql-action/upload-sarif@v3 with: