Skip to content

Commit a6e9977

Browse files
authored
Merge pull request #1197 from DirectXMan12/infra/checking
🌱 Use kubebuilder-release-tools
2 parents 933bd00 + 7e1b18e commit a6e9977

File tree

7 files changed

+30
-346
lines changed

7 files changed

+30
-346
lines changed

.github/main.workflow

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/verify.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on:
2+
pull_request_target:
3+
types: [opened, edited, reopened]
4+
5+
jobs:
6+
verify:
7+
runs-on: ubuntu-latest
8+
name: verify PR contents
9+
steps:
10+
- name: Verifier action
11+
id: verifier
12+
uses: kubernetes-sigs/[email protected]
13+
with:
14+
github_token: ${{ secrets.GITHUB_TOKEN }}

VERSIONING.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,23 @@ filters and checks for changes tagged as breaking (see below).
7575

7676
### Tooling
7777

78-
* [release-notes.sh](hack/release/release-notes.sh): generate release notes
79-
for a range of commits, and check for next version type (***TODO***)
78+
Tooling for releases lives in the [kubebuilder-release-tools
79+
repository][rel-tools].
8080

81-
* [verify-emoji.sh](hack/release/verify-emoji.sh): check that
82-
your PR and/or commit messages have the right versioning icon
83-
(***TODO***).
81+
* `go run sigs.k8s.io/kubebuilder-release-tools/notes` from a `release-X`
82+
(or `release-0.Y`) branch will generate release notes based on the emoji
83+
described below.
84+
85+
You can generally paste the stdout output directly into the release,
86+
unless the tool mentions needing manual edits.
87+
88+
* the [GitHub actions workflow][actions-wf] in this repo will verify PRs
89+
using the verifier action from the [release-tools][rel-tools] mentioned
90+
above. If you want to add new checks, you can do it there.
91+
92+
[rel-tools]: https://sigs.k8s.io/kubebuilder-release-tools
93+
94+
[actions-wf]: /.github/workflows/verify.yml
8495

8596
## PR Process
8697

hack/release/Dockerfile

Lines changed: 0 additions & 13 deletions
This file was deleted.

hack/release/common.sh

Lines changed: 0 additions & 172 deletions
This file was deleted.

hack/release/release-notes.sh

Lines changed: 0 additions & 118 deletions
This file was deleted.

hack/release/verify-emoji.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)