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
fix: manual makefile modules upgrade for govulncheck
Previously the org name was hardcoded to "cert-manager" which prevented
the govulncheck Action being run on this repo. This commit does a manual
makefile modules upgrade to adopt the latest changes after [0] merged,
which should re-enable the govulncheck job.
[0]: cert-manager/makefile-modules#314
Signed-off-by: Ashley Davis <[email protected]>
# 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