[release-11.4.5] Backport workflow fixes (#104696)

* Copy workflows and actions from main

* add zizmor.yml
This commit is contained in:
Kevin Minehart
2025-04-29 11:48:00 -05:00
committed by GitHub
parent 6e33a34a9b
commit d62a0a23ed
82 changed files with 2391 additions and 880 deletions
+6 -3
View File
@@ -9,6 +9,7 @@ on:
- "pkg/aggregator/apis/**"
- "pkg/apimachinery/apis/**"
- "hack/**"
- "apps/**"
- "*.sum"
jobs:
@@ -18,10 +19,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Set go version
uses: actions/setup-go@v4
uses: actions/setup-go@19bb51245e9c80abacb2e91cc42b33fa478b8639
with:
go-version-file: go.mod
@@ -35,4 +38,4 @@ jobs:
git diff
echo "Please run './hack/update-codegen.sh' and commit the changes."
exit 1
fi
fi