From c30c9f467da504b0ffa5f6d112178f0a579a91ab Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Sun, 22 Jan 2023 17:14:39 -0800 Subject: [PATCH] Add automatic labelling for annual reports and charter changes --- OWNERS | 40 ++++++++++++++--------- generator/annual-report/github_issue.tmpl | 1 + 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/OWNERS b/OWNERS index 969d46684..9e0ac51a2 100644 --- a/OWNERS +++ b/OWNERS @@ -1,17 +1,27 @@ # See the OWNERS docs at https://go.k8s.io/owners -approvers: - - cblecker - - idvoretskyi - - jdumars - - mrbobbytables - - nikhita - - parispittman - - sig-contributor-experience-leads - - committee-steering -emeritus_approvers: - - alisondy - - castrojo - - calebamiles - - grodrigues3 - - spiffxp +filters: + ".*": + approvers: + - cblecker + - idvoretskyi + - jdumars + - mrbobbytables + - nikhita + - parispittman + - sig-contributor-experience-leads + - committee-steering + emeritus_approvers: + - alisondy + - castrojo + - calebamiles + - grodrigues3 + - spiffxp + # ensure PRs for annual reports are generated + "annual-report-.*\\.md$": + labels: + - area/annual-reports + # label charter changes for review by steering + "charter.md": + labels: + - committee/steering diff --git a/generator/annual-report/github_issue.tmpl b/generator/annual-report/github_issue.tmpl index 0c5b44dfb..b286e3df5 100644 --- a/generator/annual-report/github_issue.tmpl +++ b/generator/annual-report/github_issue.tmpl @@ -29,3 +29,4 @@ If you have any questions or concerns about this process, you may reach the Stee /{{.Prefix}} {{.Label}} /committee steering +/area annual-reports