This action assigns reviewers and sets assignee to the pull request only created by the user.
Create a workflow file under .github/workflows directory.
name: Assign Reviewers and Assignees to Pull Request
on:
pull_request_target:
types: [opened]
jobs:
auto-pr-assign:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
steps:
- uses: praha-inc/action-auto-pr-assign@v1.2.2
with:
exclude: |
dependabot[bot]
renovate[bot]
reviewers: |
octocat
token: ${{ secrets.GITHUB_TOKEN }}If the author of the pull request is included in the list, the action will not assign reviewers.
The action assigns reviewers to the pull request.
Contributions, issues and feature requests are welcome.
Feel free to check issues page if you want to contribute.
Copyright © 2020 PrAha.
This project is MIT licensed.