summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-12-14 10:01:49 -0800
committerGitHub <noreply@github.com>2021-12-14 10:01:49 -0800
commit29aaf5c51374f1ffbdfb950c2167e41942cad9af (patch)
treef841162234e2dc7f662e1d7830bb4dc6aeaaa7d8
parentd323b1b9fcbc8091bce7404e83dada4b70af08bd (diff)
parent54a834416c72911184f70549187e219bd90bbe9f (diff)
downloadchef-29aaf5c51374f1ffbdfb950c2167e41942cad9af.tar.gz
Merge pull request #12370 from chef/labeler
Setup auto issue labeler for docs
-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 }}"