Skip to content

Commit

Permalink
upgraded review-bot to 2.2.0
Browse files Browse the repository at this point in the history
This version includes paritytech/review-bot#97 which can assign reviewers.

It will be the final replacement for PRCR.

It also moves the secrets to the environment master.
  • Loading branch information
Bullrich committed Oct 31, 2023
1 parent 18ad449 commit 6d8a9c9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/review-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ on:
types:
- completed

permissions:
contents: read

jobs:
review-approvals:
runs-on: ubuntu-latest
environment: master
steps:
- name: Extract content of artifact
id: number
Expand All @@ -25,9 +23,10 @@ jobs:
app_id: ${{ secrets.REVIEW_APP_ID }}
private_key: ${{ secrets.REVIEW_APP_KEY }}
- name: "Evaluates PR reviews and assigns reviewers"
uses: paritytech/review-bot@v2.1.0
uses: paritytech/review-bot@v2.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ steps.team_token.outputs.token }}
team-token: ${{ steps.team_token.outputs.token }}
checks-token: ${{ steps.team_token.outputs.token }}
pr-number: ${{ steps.number.outputs.content }}
request-reviewers: true

0 comments on commit 6d8a9c9

Please sign in to comment.