diff --git a/.github/workflows/go-security-scan.yml b/.github/workflows/scheduled-go-security-scan.yml similarity index 97% rename from .github/workflows/go-security-scan.yml rename to .github/workflows/scheduled-go-security-scan.yml index 8668daf3039..9bddf82aeb8 100644 --- a/.github/workflows/go-security-scan.yml +++ b/.github/workflows/scheduled-go-security-scan.yml @@ -18,7 +18,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