Skip to content

Commit

Permalink
Setup auto issue labeler for docs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tas50 committed Dec 14, 2021
1 parent 40b94da commit 54a8344
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
documentation:
- 'README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'lib/chef/resource/**/*'

11 changes: 11 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit 54a8344

Please sign in to comment.