Use OWNERS-based labeling for kind/api-change

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 commit is contained in:
Aaron Crickenberger 2018-08-10 12:51:04 -07:00
parent df439192d7
commit d0b259597a
2 changed files with 70 additions and 48 deletions

View File

@ -1,4 +1,15 @@
approvers: # See the OWNERS docs at https://go.k8s.io/owners
- api-approvers
reviewers: filters:
- api-reviewers ".*":
approvers:
- api-approvers
reviewers:
- api-reviewers
# examples:
# pkg/api/types.go
# pkg/api/*/register.go
"([^/]+/)?(register|types)\\.go$":
labels:
- kind/api-change

View File

@ -1,44 +1,55 @@
approvers: # See the OWNERS docs at https://go.k8s.io/owners
- erictune
- lavalamp filters:
- smarterclayton ".*":
- thockin approvers:
- liggitt - erictune
# - bgrant0607 # manual escalations only - lavalamp
reviewers: - smarterclayton
- lavalamp - thockin
- smarterclayton - liggitt
- wojtek-t # - bgrant0607 # manual escalations only
- deads2k reviewers:
- yujuhong - lavalamp
- brendandburns - smarterclayton
- derekwaynecarr - wojtek-t
- caesarxuchao - deads2k
- vishh - yujuhong
- mikedanese - brendandburns
- liggitt - derekwaynecarr
- nikhiljindal - caesarxuchao
- gmarek - vishh
- erictune - mikedanese
- pmorie - liggitt
- sttts - nikhiljindal
- dchen1107 - gmarek
- saad-ali - erictune
- luxas - pmorie
- janetkuo - sttts
- justinsb - dchen1107
- pwittrock - saad-ali
- ncdc - luxas
- tallclair - janetkuo
- yifan-gu - justinsb
- eparis - pwittrock
- mwielgus - ncdc
- feiskyer - tallclair
- soltysh - yifan-gu
- piosz - eparis
- dims - mwielgus
- errordeveloper - feiskyer
- madhusudancs - soltysh
- krousey - piosz
- rootfs - dims
- jszczepkowski - errordeveloper
- madhusudancs
- krousey
- rootfs
- jszczepkowski
# examples:
# pkg/apis/*/types.go
# pkg/apis/*/*/types.go
"[^/]+/([^/]+/)?(register|types)\\.go$":
labels:
- kind/api-change