Skip to content

Commit 8c1d723

Browse files
authored
[github actions] use token from real user flutter mirror bot (#140191)
sir @godofredoc pointed out that we should use a real user to create PRs with, and we already have one account with such credentials -- the mirror bot.
1 parent 13b8106 commit 8c1d723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/easy-cp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
base: ${{ env.RELEASE_BRANCH }}
6161
branch: cp-${{ env.CHANNEL }}-${{ env.COMMIT_SHA }}
6262
path: flutter
63-
token: ${{ github.token}}
63+
token: ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN}}
6464
labels: |
6565
cp: review
6666
title: '[${{ env.CHANNEL }}-cherrypick] cherrypicks commit ${{ env.COMMIT_SHA }} from PR ${{ github.event.pull_request.title }}'
@@ -72,4 +72,4 @@ jobs:
7272
FAILURE_MSG+="You will need to create the PR manually. See [the cherrypick wiki](https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process) for more info."
7373
gh pr comment ${{ github.event.pull_request.number }} -R flutter/flutter -b "${FAILURE_MSG}"
7474
env:
75-
GITHUB_TOKEN: ${{ github.token }}
75+
GITHUB_TOKEN: ${{ secrets.FLUTTERMIRRORINGBOT_TOKEN }}

0 commit comments

Comments
 (0)