Skip to content

praha-inc/action-auto-pr-assign

Repository files navigation

action-auto-pr-assign

license Github

This action assigns reviewers and sets assignee to the pull request only created by the user.

👏 Getting Started

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 }}

🔧 Configurations

exclude

If the author of the pull request is included in the list, the action will not assign reviewers.

reviewers

The action assigns reviewers to the pull request.

🤝 Contributing

Contributions, issues and feature requests are welcome.

Feel free to check issues page if you want to contribute.

📝 License

Copyright © 2020 PrAha.

This project is MIT licensed.

About

Assign reviewers only to PRs that are not created by bots.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors