Releases: uesteibar/reviewer-lottery
Releases · uesteibar/reviewer-lottery
v3.1.0
What's Changed
- Avoid duplications of the selected reviewers by @monorilaci in #38
New Contributors
- @monorilaci made their first contribution in #38
Full Changelog: v3.0.0...v3.1.0
Upgrade to node 16
Update to node 16 (#40) * Update to node 16 * Update dependencies
v2.0.0: Make compatible with pull_request_target
To migrate to this version, .github/workflows/reviewer-lottery.yml
needs to be updated to use pull_request_target
event instead.
v1.1.0: Do not assign reviewers if the PR is in draft state
Don't request reviews if the PR is in draft state
v1.0.1
Update dependencies to fix security vulnerabilities
v1.0.0
Add your configuration on .github/reviewer-lottery.yml
groups:
- name: devs # name of the group
reviewers: 1 # how many reviewers do you want to assign?
usernames: # github usernames of the reviewers
- uesteibar
- tebs
- rudeayelo
- marciobarrios
- name: qas # you can have multiple groups, it will evaluate them separately
reviewers: 1
usernames:
- some_user
- someoneelse
The ideal workflow configuration is:
name: "test-lottery"
on:
pull_request:
types: [opened, ready_to_review, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: uesteibar@reviewer-lottery@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
When opening a PR, this github action will assign random reviewers: