https://github.com/fabasoad/reviewers-action
A GitHub action to parse a CODEOWNERS like files and use it to set reviewers on PRs
https://github.com/fabasoad/reviewers-action
Last synced: about 1 year ago
JSON representation
A GitHub action to parse a CODEOWNERS like files and use it to set reviewers on PRs
- Host: GitHub
- URL: https://github.com/fabasoad/reviewers-action
- Owner: fabasoad
- License: mit
- Created: 2023-12-31T07:13:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T22:03:07.000Z (over 1 year ago)
- Last Synced: 2025-04-10T01:06:13.833Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Reviewers action
[](https://stand-with-ukraine.pp.ua)




This GitHub action parses a CODEOWNERS like file and use it to set reviewers on
pull requests.
## Prerequisites
The following tools have to be installed for successful work of this GitHub action:
- [bash](https://www.gnu.org/software/bash/)
- [git](https://git-scm.com/)
## Inputs
```yaml
with:
# (Optional) Auth token with permissions to assign reviewers to a PR. Defaults
# to ${{ github.token }}.
github-token: "${{ secrets.GITHUB_TOKEN }}"
# (Optional) PR number to assign reviewers to. Defaults to ${{ github.event.pull_request.number }},
# i.e. it defaults to the current PR if trigger is "pull_request".
pr-number: "25"
# (Optional) CODEOWNERS like filename. Defaults to "REVIEWERS".
reviewers-filename: "REVIEWERS"
```
## Outputs
None.