-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add auto assign pr review gh action (#14366)
- Loading branch information
1 parent
11f1e8d
commit 24c952a
Showing
1 changed file
with
22 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,22 @@ | ||
# Request review on PRs without changing our codeowners file (which is stricter than review team) | ||
name: Request review on PRs | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
request: | ||
name: Request reviews on opened PRs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create PR review request | ||
run: gh pr edit $PR_URL --add-reviewer @cosmos/sdk-core-review | ||
env: | ||
GH_TOKEN: ${{ secrets.PRBOT_PAT }} | ||
PR_URL: ${{ github.event.pull_request.html_url }} |