Skip to content

Commit

Permalink
tooling - add workflow to auto assign reviewers (hashicorp#28386)
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Dec 26, 2024
1 parent 29cd6ec commit 04c6592
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-assign-reviewers-to-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto Assign Reviewers as Assignees

on:
pull_request:
types:
- review_requested
- review_request_removed
- reopened
- edited
- synchronize

jobs:
auto_assign_reviewers:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Get reviewers and assign them
uses: peter-evans/review-assign-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: reviewers
assignees: reviewers

0 comments on commit 04c6592

Please sign in to comment.