Skip to content

Commit

Permalink
ci: add auto assign pr review gh action (#14366)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Dec 20, 2022
1 parent 11f1e8d commit 24c952a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pr-reviews.yml
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 }}

0 comments on commit 24c952a

Please sign in to comment.