Skip to content

Commit 4ad4156

Browse files
authored
fix review bot: updated to v2.4.1 with fix (#282)
This contains the fix for paritytech/review-bot#118, which is a breaking change introduced in V1.2.0 which causes the `Identity` object to become a tuple. The updated code gets the first element of the tuple. --- Replaced the action `tibdex/github-app-token` for `actions/create-github-app-token` which works the same way but is developed by GitHub (which should make it more secure) - [x] Does not require a CHANGELOG entry
1 parent 4211c34 commit 4ad4156

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/review-bot.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
artifact-name: pr_number
2222
- name: Generate token
2323
id: team_token
24-
uses: tibdex/github-app-token@v1
24+
uses: actions/create-github-app-token@v1.9.3
2525
with:
26-
app_id: ${{ secrets.REVIEW_APP_ID }}
27-
private_key: ${{ secrets.REVIEW_APP_KEY }}
26+
app-id: ${{ secrets.REVIEW_APP_ID }}
27+
private-key: ${{ secrets.REVIEW_APP_KEY }}
2828
- name: "Evaluates PR reviews and assigns reviewers"
29-
uses: paritytech/review-bot@v2.4.0
29+
uses: paritytech/review-bot@v2.4.1
3030
with:
3131
repo-token: ${{ secrets.GITHUB_TOKEN }}
3232
team-token: ${{ steps.team_token.outputs.token }}

0 commit comments

Comments
 (0)