Skip to content

Commit

Permalink
feat: add auto-assign
Browse files Browse the repository at this point in the history
  • Loading branch information
japananh committed Jan 18, 2024
1 parent 0546d73 commit 1e9f385
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addReviewers: true
# Set to author to set pr creator as assignee
addAssignees: author

# A list of reviewers to be added to pull requests (GitHub user name)
# A list of reviewers to be added to pull requests (GitHub username)
reviewers:
- japananh

Expand All @@ -18,7 +18,7 @@ numberOfReviewers: 0
# - assigneeA

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Set to 0 to add all the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2

Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: 'Auto Assign'
on:
pull_request:
types: [opened, ready_for_review]

name: Auto Assign
on: [push, pull_request]
jobs:
add-reviews:
add-reviewers-assignees:
name: Auto Add Reviewer and Assignees
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
Expand Down

0 comments on commit 1e9f385

Please sign in to comment.