File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,11 @@ jobs:
169169 run : rustup toolchain install nightly --profile minimal
170170 - name : Install rustup-toolchain-install-master
171171 run : cargo install -f rustup-toolchain-install-master
172+ - uses : actions/create-github-app-token@v2
173+ id : app-token
174+ with :
175+ app-id : ${{ vars.APP_CLIENT_ID }}
176+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
172177 - name : Push changes to a branch and create PR
173178 run : |
174179 # Make it easier to see what happens.
@@ -200,7 +205,7 @@ jobs:
200205 git push -u origin $BRANCH
201206 gh pr create -B master --title 'Automatic Rustup' --body 'Please close and re-open this PR to trigger CI, then enable auto-merge.'
202207 env :
203- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
208+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
204209
205210 cron-fail-notify :
206211 name : cronjob failure notification
Original file line number Diff line number Diff line change @@ -50,9 +50,6 @@ new_pr = true
5050[autolabel ."S-waiting-on-author" ]
5151new_draft = true
5252
53- # Automatically close and reopen PRs made by bots to run CI on them
54- [bot-pull-requests ]
55-
5653# Canonicalize issue numbers to avoid closing the wrong issue when upstreaming this subtree
5754[canonicalize-issue-links ]
5855
You can’t perform that action at this time.
0 commit comments