Add Abbie to PR review requests

Signed-off-by: Carlisia <carlisia@vmware.com>
This commit is contained in:
Carlisia
2021-04-06 10:52:34 -07:00
parent f02ae6d112
commit adaa626457
5 changed files with 58 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
name: "Auto Assign PR Reviewers"
name: "Auto Assign Author"
# pull_request_target means that this will run on pull requests, but in the context of the base repo.
# This should mean PRs from forks are supported.
on:
@@ -10,7 +11,8 @@ jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- name: Set the author of a PR as the assignee
- uses: kentaro-m/auto-assign-action@v1.1.1
with:
configuration-path: ".github/auto_assign.yml"
configuration-path: ".github/assign_author.yml"
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@@ -0,0 +1,16 @@
name: "Auto Request Review"
on:
pull_request:
types: [opened, ready_for_review, synchronize, reopened]
jobs:
auto-request-review:
name: Auto Request Review
runs-on: ubuntu-latest
steps:
- name: Request a PR review based on files types/paths, and/or groups the author belongs to
uses: necojackarc/auto-request-review@v0.5.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml