-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: 🤖 auto request review on pull requests
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
reviewers: | ||
defaults: | ||
- JamsRepos | ||
- PhantomMantis | ||
- MrDynamo | ||
|
||
options: | ||
ignore_draft: true | ||
ignored_keywords: | ||
- NO REVIEW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Auto Request Review | ||
|
||
on: | ||
pull_request: | ||
types: [opened, ready_for_review, reopened] | ||
pull_request_target: | ||
types: [opened, ready_for_review, reopened] | ||
|
||
jobs: | ||
auto-request-review: | ||
name: Request Reviews on Pull Request | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Get GitHub App Token | ||
id: gh_app | ||
uses: getsentry/action-github-app-token@v2 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
|
||
- name: Request reviewe | ||
uses: necojackarc/[email protected] | ||
with: | ||
token: ${{ steps.gh_app.outputs.token }} | ||
config: .github/pr-review-config.yml # Config file location override | ||
# Look for config locally during run instead of in repo. | ||
# For instance, if you'd like to use a config file stored in external storage, | ||
# you can fetch it before you run this action, then let this action pick it up with `use_local: true`. | ||
# This defaults to false if not specified. | ||
# See https://github.com/necojackarc/auto-request-review/issues/76 for more details. | ||
#use_local: true |