summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-12-13 16:32:04 -0800
committerTim Smith <tsmith84@gmail.com>2021-12-13 16:32:04 -0800
commit54a834416c72911184f70549187e219bd90bbe9f (patch)
tree6067c69b1648e65283603a6b20f0612d1684d63c
parent40b94da1bac0648d35044ec3cf4dabc3ab571102 (diff)
downloadchef-54a834416c72911184f70549187e219bd90bbe9f.tar.gz
Setup auto issue labeler for docslabeler
Make sure that things the docs team should review are auto labeled so it shows up on their zenhub board. This will create false positives, but that's better than missing stuff. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--.github/CODEOWNERS2
-rw-r--r--.github/labeler.yml6
-rw-r--r--.github/workflows/labeler.yml11
3 files changed, 18 insertions, 1 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index ab9841707a..c40f95b554 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1,5 +1,5 @@
# Order is important. The last matching pattern has the most precedence.
* @chef/chef-infra-reviewers @chef/chef-infra-approvers @chef/chef-infra-owners
-.expeditor/ @chef/jex-team
+.expeditor/ @chef/releng-ops
*.md @chef/docs-team
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..42c3a0ee84
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,6 @@
+documentation:
+ - 'README.md'
+ - 'CODE_OF_CONDUCT.md'
+ - 'CONTRIBUTING.md'
+ - 'lib/chef/resource/**/*'
+
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000000..4415f00108
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,11 @@
+name: "Pull Request Labeler"
+on:
+ - pull_request_target
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@main
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"