Skip to content

Commit 51b3586

Browse files
BOT: run 'make upgrade-klone' and 'make generate'
Signed-off-by: cert-manager-bot <[email protected]>
1 parent 66a0de8 commit 51b3586

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
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: c3d364ac4221b114f9b31e755ed328c541246330
12+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
17+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
22+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
27+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
32+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
37+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
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: c3d364ac4221b114f9b31e755ed328c541246330
42+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
4343
repo_path: modules/tools

make/_shared/go/01_mod.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@ default_govulncheck_generate_base_dir := $(dir $(lastword $(MAKEFILE_LIST)))/bas
6363
# pipeline (eg. a GitLab pipeline).
6464
govulncheck_generate_base_dir ?= $(default_govulncheck_generate_base_dir)
6565

66+
# 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+
6670
.PHONY: generate-govulncheck
6771
## Generate base files in the repository
6872
## @category [shared] Generate/ Verify
6973
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
7176

7277
shared_generate_targets += generate-govulncheck
7378

make/_shared/go/base/.github/workflows/govulncheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
govulncheck:
1818
runs-on: ubuntu-latest
1919

20-
if: github.repository_owner == 'cert-manager'
20+
if: github.repository_owner == 'ORGNAMEHERE'
2121

2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)