Skip to content

Commit

Permalink
feat: add workflow to auto assign and add reviewers in the PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Saphall committed Jan 7, 2025
1 parent 987c14c commit 6f0334a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Set to true to add reviewers to pull requests.
addReviewers: true

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

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

# Set addAssignees to 'author' to set the PR creator as the assignee.
addAssignees: author
15 changes: 15 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This workflow will add reviewers and assignee
# on opened and ready_to_review pull requests.
#
# This workflow uses .github/auto_assign.yml file as configuration.

name: Auto assign reviewers
on:
pull_request:
types: [opened, ready_for_review, reopened]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]

0 comments on commit 6f0334a

Please sign in to comment.