Skip to content

Commit

Permalink
Fix release PR author/reviewer (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalasr authored Feb 3, 2021
1 parent bfa4f26 commit 454d733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
id: release-pr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.RELEASER_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
title: Release version ${{ steps.bump.outputs.tag }}
branch: release-${{ steps.bump.outputs.tag }}
delete-branch: true

- name: Approve Release PR
uses: juliangruber/approve-pull-request-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }} # FIXME should be a merger token
github-token: ${{ secrets.RELEASER_TOKEN }}
number: ${{ steps.release-pr.outputs.pull-request-number }}

- name: Merge Release PR
Expand Down

0 comments on commit 454d733

Please # to comment.