From 2e0d75b73ef33596406f001414ee0e2f3666ce9d Mon Sep 17 00:00:00 2001 From: Sivanantham Chinnaiyan Date: Thu, 5 Oct 2023 21:41:56 +0530 Subject: [PATCH] debug Signed-off-by: Sivanantham Chinnaiyan --- .../{go-security-scan.yml => scheduled-go-security-scan.yml} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename .github/workflows/{go-security-scan.yml => scheduled-go-security-scan.yml} (96%) diff --git a/.github/workflows/go-security-scan.yml b/.github/workflows/scheduled-go-security-scan.yml similarity index 96% rename from .github/workflows/go-security-scan.yml rename to .github/workflows/scheduled-go-security-scan.yml index 8668daf3039..d1ecc2184ac 100644 --- a/.github/workflows/go-security-scan.yml +++ b/.github/workflows/scheduled-go-security-scan.yml @@ -1,6 +1,7 @@ name: "Go Security Scan" on: + pull_request: schedule: # The scheduled workflow runs every Sunday at 00:00 UTC time. - cron: '0 0 * * 0' @@ -18,7 +19,7 @@ jobs: - name: Run Gosec Security Scanner uses: securego/gosec@master with: - args: '-no-fail -fmt=sarif -out=go-security-scan-results.sarif -exclude-dir=pkg/client -exclude-dir=pkg/clientv1alpha1 ./pkg/... ./cmd/...' + args: '-no-fail -fmt=sarif -out=go-security-scan-results.sarif -exclude-dir=pkg/client -exclude-dir=pkg/clientv1alpha1 ./...' - name: Upload SARIF file to Github Code Scanning uses: github/codeql-action/upload-sarif@v2