Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add auto-assign #24

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading