2021-04-21 17:04:04 +00:00
|
|
|
---
|
2021-04-06 17:52:34 +00:00
|
|
|
name: "Auto Assign Author"
|
|
|
|
|
2021-04-21 17:04:04 +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:
|
2021-04-06 17:52:34 +00:00
|
|
|
- name: Set the author of a PR as the assignee
|
2021-04-14 20:17:02 +00:00
|
|
|
uses: kentaro-m/auto-assign-action@v1.1.1
|
2021-02-09 15:12:48 +00:00
|
|
|
with:
|
2021-04-14 19:17:17 +00:00
|
|
|
configuration-path: ".github/auto-assignees.yml"
|
2021-04-21 17:04:04 +00:00
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|