ci: add auto assign pr review gh action (#14366)
This commit is contained in:
parent
11f1e8d74c
commit
24c952a7cc
22
.github/workflows/pr-reviews.yml
vendored
Normal file
22
.github/workflows/pr-reviews.yml
vendored
Normal file
@ -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 }}
|
||||
Loading…
Reference in New Issue
Block a user