Extend Consideration
trait
#2091
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
name: Review PR | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- review_requested | |
- review_request_removed | |
- ready_for_review | |
pull_request_review: | |
permissions: | |
contents: read | |
jobs: | |
review-approvals: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: team_token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.REVIEW_APP_ID }} | |
private_key: ${{ secrets.REVIEW_APP_KEY }} | |
- name: "Evaluates PR reviews and assigns reviewers" | |
uses: paritytech/review-bot@v2.0.1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
team-token: ${{ steps.team_token.outputs.token }} | |
checks-token: ${{ steps.team_token.outputs.token }} |