Skip to content

Commit

Permalink
Auto assign approver and maintainers to PRs (#1301)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored and kohrapha committed Oct 29, 2020
1 parent 2d61c7e commit 145f60a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Set to true to add reviewers to pull requests
addReviewers: false

# Set to true to add assignees to pull requests
addAssignees: true

# Set to true to add assignees from different groups to pull requests
useAssigneeGroups: true

# A list of assignees, split into different groups, to be added to pull requests (GitHub user name)
assigneeGroups:
approvers_maintainers:
- anuraaga
- bogdandrutu
- dmitryax
- james-bebbington
- jrcamp
- jpkrohling
- nilebox
- owais
- tigrannajaryan

# A number of assignees added to the pull request
# Set 0 to add all the assignees (default: 0)
numberOfAssignees: 1
14 changes: 14 additions & 0 deletions .github/workflows/auto-assign-owners.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Auto Assign'
on:
pull_request_target:
types: [opened]

jobs:
add-owner:
runs-on: ubuntu-latest
steps:
- name: run
uses: kentaro-m/auto-assign-action@v1.1.2
with:
configuration-path: ".github/auto_assign.yml"
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 145f60a

Please sign in to comment.