Skip to content
Snippets Groups Projects
Unverified Commit 9ca26732 authored by Javyer's avatar Javyer Committed by GitHub
Browse files

upgraded review-bot to 2.2.0 (#2097)

This version includes paritytech/review-bot#97 which can assign
reviewers.

It will be the final step required to replace PRCR.

It also moves the secrets to the environment master.
parent 37f3269c
Branches
No related merge requests found
Pipeline #407864 failed with stages
in 55 minutes and 52 seconds
......@@ -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
......@@ -19,15 +17,16 @@ jobs:
with:
artifact-name: pr_number
- name: Generate token
id: team_token
id: app_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.1.0
uses: paritytech/review-bot@v2.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
team-token: ${{ steps.team_token.outputs.token }}
checks-token: ${{ steps.team_token.outputs.token }}
repo-token: ${{ steps.app_token.outputs.token }}
team-token: ${{ steps.app_token.outputs.token }}
checks-token: ${{ steps.app_token.outputs.token }}
pr-number: ${{ steps.number.outputs.content }}
request-reviewers: true
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment