Skip to content

Commit

Permalink
MD-23 ci: add auto assigners
Browse files Browse the repository at this point in the history
  • Loading branch information
joeladam518 committed Apr 2, 2024
1 parent e811632 commit 0bf2260
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# https://github.com/kentaro-m/auto-assign-action

# Set to true to add reviewers to pull requests
addReviewers: true

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

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

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 2

# Set to true to add reviewers from different groups to pull requests
useReviewGroups: true

# A list of reviewers to be added to pull requests (GitHub username)
reviewGroups:
groupA:
- stobob
- joeladam518
- xhaferrama
groupB:
- ryantoad
- angietoad
- edertoad
12 changes: 12 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Auto Assign Reviewers'
on:
pull_request_target:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0bf2260

Please sign in to comment.