You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The org name used in the govulncheck GH action. This is used to prevent the govulncheck job
67
+
# being run on every fork of the repo.
68
+
govulncheck_generate_org ?= cert-manager
69
+
66
70
.PHONY: generate-govulncheck
67
71
## Generate base files in the repository
68
72
## @category [shared] Generate/ Verify
69
73
generate-govulncheck:
70
-
cp -r $(govulncheck_generate_base_dir)/. ./
74
+
@mkdir -p ./.github/workflows
75
+
sed 's/ORGNAMEHERE/$(govulncheck_generate_org)/g'$(govulncheck_generate_base_dir)/.github/workflows/govulncheck.yaml > .github/workflows/govulncheck.yaml
0 commit comments