mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #67275 from spiffxp/owners-label-kind-api-change
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Use OWNERS-based labeling for kind/api-change **What this PR does / why we need it**: This replaces the following path-label munger config, except we're using kind/api-change for everything instead of two different kind/ labels ``` ^pkg/api/([^/]+/)?types.go$ kind/api-change ^pkg/api/([^/]+/)?register.go$ kind/new-api ^pkg/apis/[^/]+/([^/]+/)?types.go$ kind/api-change ^pkg/apis/[^/]+/([^/]+/)?register.go$ kind/new-api ``` This fixes https://github.com/kubernetes/test-infra/issues/9007 **Special notes for your reviewer**: This can be merged independently of us turning path-label off of mungegithub. While both labeling options are active, they won't clash, just race. ```release-note NONE ```
This commit is contained in:
commit
819253dd2d
@ -1,4 +1,15 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
filters:
|
||||
".*":
|
||||
approvers:
|
||||
- api-approvers
|
||||
reviewers:
|
||||
- api-reviewers
|
||||
|
||||
# examples:
|
||||
# pkg/api/types.go
|
||||
# pkg/api/*/register.go
|
||||
"([^/]+/)?(register|types)\\.go$":
|
||||
labels:
|
||||
- kind/api-change
|
||||
|
@ -1,3 +1,7 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
filters:
|
||||
".*":
|
||||
approvers:
|
||||
- erictune
|
||||
- lavalamp
|
||||
@ -42,3 +46,10 @@ reviewers:
|
||||
- krousey
|
||||
- rootfs
|
||||
- jszczepkowski
|
||||
|
||||
# examples:
|
||||
# pkg/apis/*/types.go
|
||||
# pkg/apis/*/*/types.go
|
||||
"[^/]+/([^/]+/)?(register|types)\\.go$":
|
||||
labels:
|
||||
- kind/api-change
|
||||
|
Loading…
Reference in New Issue
Block a user