diff --git a/.github/review-bot.yml b/.github/review-bot.yml index a1a4c1f059..418efcaac2 100644 --- a/.github/review-bot.yml +++ b/.github/review-bot.yml @@ -14,7 +14,8 @@ rules: - ^CHANGELOG.md$ type: fellows minRank: 2 - minApprovals: 3 + minApprovals: 2 + minTotalScore: 6 - name: General Files condition: include: @@ -26,3 +27,13 @@ rules: - ^CHANGELOG.md$ type: fellows minRank: 1 +scores: + dan1: 1 + dan2: 2 + dan3: 5 + dan4: 9 + dan5: 10 + dan6: 15 + dan7: 20 + dan8: 25 + dan9: 30 diff --git a/.github/workflows/review-bot.yml b/.github/workflows/review-bot.yml index 6efaba16f5..fbee582d5a 100644 --- a/.github/workflows/review-bot.yml +++ b/.github/workflows/review-bot.yml @@ -26,7 +26,7 @@ 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.3.1 + uses: paritytech/review-bot@v2.4.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} team-token: ${{ steps.team_token.outputs.token }}