Skip to content

Commit 2aebfbf

Browse files
Merge pull request #20 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents 5980d52 + 9e3bbf0 commit 2aebfbf

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

klone.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ targets:
99
- folder_name: boilerplate
1010
repo_url: https://github.com/cert-manager/makefile-modules.git
1111
repo_ref: main
12-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
12+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
1313
repo_path: modules/boilerplate
1414
- folder_name: generate-verify
1515
repo_url: https://github.com/cert-manager/makefile-modules.git
1616
repo_ref: main
17-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
17+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
1818
repo_path: modules/generate-verify
1919
- folder_name: go
2020
repo_url: https://github.com/cert-manager/makefile-modules.git
2121
repo_ref: main
22-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
22+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
2323
repo_path: modules/go
2424
- folder_name: help
2525
repo_url: https://github.com/cert-manager/makefile-modules.git
2626
repo_ref: main
27-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
27+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
2828
repo_path: modules/help
2929
- folder_name: klone
3030
repo_url: https://github.com/cert-manager/makefile-modules.git
3131
repo_ref: main
32-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
32+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
3333
repo_path: modules/klone
3434
- folder_name: repository-base
3535
repo_url: https://github.com/cert-manager/makefile-modules.git
3636
repo_ref: main
37-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
37+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
3838
repo_path: modules/repository-base
3939
- folder_name: tools
4040
repo_url: https://github.com/cert-manager/makefile-modules.git
4141
repo_ref: main
42-
repo_hash: 66c701b603b3136524e923ab55fb5885b3377cf3
42+
repo_hash: 563ddf86f3e68085fbf926eb2cc7a4ec0c6d58cd
4343
repo_path: modules/tools

make/_shared/go/01_mod.mk

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ generate-go-mod-tidy: | $(NEEDS_GO)
5757

5858
shared_generate_targets += generate-go-mod-tidy
5959

60-
default_govulncheck_generate_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
60+
ifndef govulncheck_skip
6161

62+
default_govulncheck_generate_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/base/
6263
# The base directory used to copy the govulncheck GH action from. This can be
6364
# overwritten with an action with extra authentication or with a totally different
6465
# pipeline (eg. a GitLab pipeline).
@@ -68,10 +69,6 @@ govulncheck_generate_base_dir ?= $(default_govulncheck_generate_base_dir)
6869
# being run on every fork of the repo.
6970
govulncheck_generate_org ?= cert-manager
7071

71-
# Any closed-source or inaccessible Go modules that should be ignored by govulncheck; not needed
72-
# for most open-source projects.
73-
govulncheck_goprivate ?=
74-
7572
.PHONY: generate-govulncheck
7673
## Generate base files in the repository
7774
## @category [shared] Generate/ Verify
@@ -101,11 +98,13 @@ verify-govulncheck: | $(NEEDS_GOVULNCHECK)
10198
target=$$(dirname $${d}); \
10299
echo "Running 'GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(bin_dir)/tools/govulncheck ./...' in directory '$${target}'"; \
103100
pushd "$${target}" >/dev/null; \
104-
GOPRIVATE=$(govulncheck_goprivate) GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
101+
GOTOOLCHAIN=go$(VENDORED_GO_VERSION) $(GOVULNCHECK) ./... || exit; \
105102
popd >/dev/null; \
106103
echo ""; \
107104
done
108105

106+
endif # govulncheck_skip
107+
109108
ifdef golangci_lint_config
110109

111110
.PHONY: generate-golangci-lint-config

0 commit comments

Comments
 (0)