mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
cd076d7044
## [Updated review bot version](https://github.com/paritytech/polkadot-sdk/commit/677610ba330a8e03f24b46889787e0475f354954) updated version to version `2.0.1` which contains https://github.com/paritytech/review-bot/pull/90, a fix for the team members not being fetch in its totality. ## [Updated review-bot.yml minApprovals convention](https://github.com/paritytech/polkadot-sdk/commit/b1446832ddd14f55b2720a65b0ff86b139999419) Renamed `min_approvals` to `minApprovals`. A breaking change in https://github.com/paritytech/review-bot/pull/86 which was done to standarize all the cases (so now everything is camelCase)
32 lines
801 B
YAML
32 lines
801 B
YAML
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 }}
|