2021-02-09 15:12:48 +00:00
|
|
|
name: "Auto Assign PR Reviewers"
|
2020-08-11 17:57:16 +00:00
|
|
|
# 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.
|
2021-02-09 15:12:48 +00:00
|
|
|
on:
|
2020-08-11 17:57:16 +00:00
|
|
|
pull_request_target:
|
2021-03-16 15:52:50 +00:00
|
|
|
types: [opened, reopened, ready_for_review]
|
2020-08-11 17:57:16 +00:00
|
|
|
|
2021-02-09 15:12:48 +00:00
|
|
|
jobs:
|
|
|
|
# Automatically assigns reviewers and owner
|
2020-07-24 21:08:09 +00:00
|
|
|
add-reviews:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: kentaro-m/auto-assign-action@v1.1.1
|
2021-02-09 15:12:48 +00:00
|
|
|
with:
|
2020-07-24 21:08:09 +00:00
|
|
|
configuration-path: ".github/auto_assign.yml"
|
2021-03-16 15:52:50 +00:00
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|