Skip to content

Commit

Permalink
chore: auto add reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
Abirdcfly committed Oct 18, 2022
1 parent f260809 commit d046a51
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
reviewers:
defaults:
- 'nkwangleiGIT'
- 0xff-dev
- Abirdcfly

groups:
cli:
- 0xff-dev
executor:
- 0xff-dev
observer:
- 0xff-dev
scheduler:
- Abirdcfly
tests:
- Abirdcfly
- 'nkwangleiGIT'

files:
'.github/**':
- tests
'build/**':
- tests
'hack/**':
- tests
'doc/**':
- tests
'**/abctl/**':
- cli
'**/executor/**':
- executor
'**/observer/**':
- observer
'**/scheduler/**':
- scheduler

options:
ignore_draft: true
ignored_keywords:
- DO NOT REVIEW
- DNR
- DO NOT MERGE
- DNM
- WIP
- WORK IN PROCESS
enable_group_assignment: true

# Do not set this option if you'd like to assign all matching reviewers.
number_of_reviewers: 3
15 changes: 15 additions & 0 deletions .github/workflows/auto_assign_reviewers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Auto Request Review

on:
pull_request:
types: [opened, ready_for_review, reopened]

jobs:
auto-request-review:
name: Auto Request Review
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: necojackarc/auto-request-review@v0.8.0
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d046a51

Please sign in to comment.