File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ golangci_lint_config := .golangci.yaml # For `make generate-golangci-lint-config
7979include modules/tools/00_mod.mk
8080include modules/generate-verify/00_mod.mk
8181include modules/go/01_mod.mk
82+ include modules/gh-actions/01_mod.mk
8283include modules/generate-verify/02_mod.mk
8384
8485# # Upgrade targets
Original file line number Diff line number Diff line change 1+ # Copyright 2026 The cert-manager Authors.
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ .PHONY : verify-pinact
16+ # # Verify all actions have pinned digests with matching version comment
17+ # # @category [shared] Generate/ Verify
18+ verify-pinact : | $(NEEDS_PINACT )
19+ $(PINACT ) run --check --verify-comment
20+
21+ shared_verify_targets_dirty += verify-pinact
22+
23+ .PHONY : fix-pinact
24+ # # Fix all actions have pinned digests with matching version comment
25+ # # @category [shared] Generate/ Verify
26+ fix-pinact : | $(NEEDS_PINACT )
27+ $(PINACT ) run --fix --verify-comment
Original file line number Diff line number Diff line change @@ -200,6 +200,9 @@ tools += yamlfmt=v0.21.0
200200# https://github.com/yannh/kubeconform/releases
201201# renovate: datasource=github-releases packageName=yannh/kubeconform
202202tools += kubeconform=v0.8.0
203+ # https://github.com/suzuki-shunsuke/pinact/releases
204+ # renovate: datasource=github-releases packageName=suzuki-shunsuke/pinact
205+ tools += pinact=v4.1.0
203206
204207# FIXME(erikgb): cert-manager needs the ability to override the version set here
205208# https://pkg.go.dev/k8s.io/code-generator/cmd?tab=versions
@@ -431,6 +434,7 @@ go_dependencies += gh=github.com/cli/cli/v2/cmd/gh
431434go_dependencies += gci=github.com/daixiang0/gci
432435go_dependencies += yamlfmt=github.com/google/yamlfmt/cmd/yamlfmt
433436go_dependencies += kubeconform=github.com/yannh/kubeconform/cmd/kubeconform
437+ go_dependencies += pinact=github.com/suzuki-shunsuke/pinact/v4/cmd/pinact
434438
435439# ################
436440# go build tags #
You can’t perform that action at this time.
0 commit comments