Skip to content

Commit 24c952a

Browse files
authored
ci: add auto assign pr review gh action (#14366)
1 parent 11f1e8d commit 24c952a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/pr-reviews.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Request review on PRs without changing our codeowners file (which is stricter than review team)
2+
name: Request review on PRs
3+
4+
on:
5+
pull_request:
6+
types:
7+
- opened
8+
- reopened
9+
10+
permissions:
11+
pull-requests: write
12+
13+
jobs:
14+
request:
15+
name: Request reviews on opened PRs
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Create PR review request
19+
run: gh pr edit $PR_URL --add-reviewer @cosmos/sdk-core-review
20+
env:
21+
GH_TOKEN: ${{ secrets.PRBOT_PAT }}
22+
PR_URL: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)