Skip to content

Commit 0986c0a

Browse files
Merge pull request #320 from cert-manager/self-upgrade-main
[CI] Merge self-upgrade-main into main
2 parents 50647de + d415594 commit 0986c0a

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

klone.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,70 +10,70 @@ targets:
1010
- folder_name: boilerplate
1111
repo_url: https://github.com/cert-manager/makefile-modules.git
1212
repo_ref: main
13-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
13+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
1414
repo_path: modules/boilerplate
1515
- folder_name: cert-manager
1616
repo_url: https://github.com/cert-manager/makefile-modules.git
1717
repo_ref: main
18-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
18+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
1919
repo_path: modules/cert-manager
2020
- folder_name: controller-gen
2121
repo_url: https://github.com/cert-manager/makefile-modules.git
2222
repo_ref: main
23-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
23+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
2424
repo_path: modules/controller-gen
2525
- folder_name: generate-verify
2626
repo_url: https://github.com/cert-manager/makefile-modules.git
2727
repo_ref: main
28-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
28+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
2929
repo_path: modules/generate-verify
3030
- folder_name: go
3131
repo_url: https://github.com/cert-manager/makefile-modules.git
3232
repo_ref: main
33-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
33+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
3434
repo_path: modules/go
3535
- folder_name: helm
3636
repo_url: https://github.com/cert-manager/makefile-modules.git
3737
repo_ref: main
38-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
38+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
3939
repo_path: modules/helm
4040
- folder_name: help
4141
repo_url: https://github.com/cert-manager/makefile-modules.git
4242
repo_ref: main
43-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
43+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
4444
repo_path: modules/help
4545
- folder_name: kind
4646
repo_url: https://github.com/cert-manager/makefile-modules.git
4747
repo_ref: main
48-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
48+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
4949
repo_path: modules/kind
5050
- folder_name: klone
5151
repo_url: https://github.com/cert-manager/makefile-modules.git
5252
repo_ref: main
53-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
53+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
5454
repo_path: modules/klone
5555
- folder_name: licenses
5656
repo_url: https://github.com/cert-manager/makefile-modules.git
5757
repo_ref: main
58-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
58+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
5959
repo_path: modules/licenses
6060
- folder_name: oci-build
6161
repo_url: https://github.com/cert-manager/makefile-modules.git
6262
repo_ref: main
63-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
63+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
6464
repo_path: modules/oci-build
6565
- folder_name: oci-publish
6666
repo_url: https://github.com/cert-manager/makefile-modules.git
6767
repo_ref: main
68-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
68+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
6969
repo_path: modules/oci-publish
7070
- folder_name: repository-base
7171
repo_url: https://github.com/cert-manager/makefile-modules.git
7272
repo_ref: main
73-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
73+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
7474
repo_path: modules/repository-base
7575
- folder_name: tools
7676
repo_url: https://github.com/cert-manager/makefile-modules.git
7777
repo_ref: main
78-
repo_hash: c3d364ac4221b114f9b31e755ed328c541246330
78+
repo_hash: 684d99b0a6378fb3625c188bc5a0081ae9d2bbdc
7979
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)