ci: use personal access token for daily nightly update
The chatbot says this should cause CI to trigger on the nightly update PRs. With the default token this does not happen because it has the potential to cause recursive CI actions. (How this is avoided by using a PAT, I don't know, but whatever.)
This commit is contained in:
parent
775d0c74cd
commit
6b3c8b9f6b
|
@ -31,6 +31,7 @@ jobs:
|
||||||
if: env.changes_made == 'true'
|
if: env.changes_made == 'true'
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.APOELSTRA_CREATE_PR_TOKEN }}
|
||||||
author: Update Nightly Rustc Bot <bot@example.com>
|
author: Update Nightly Rustc Bot <bot@example.com>
|
||||||
committer: Update Nightly Rustc Bot <bot@example.com>
|
committer: Update Nightly Rustc Bot <bot@example.com>
|
||||||
title: Automated daily update to rustc (to nightly-${{ env.nightly_date }})
|
title: Automated daily update to rustc (to nightly-${{ env.nightly_date }})
|
||||||
|
|
Loading…
Reference in New Issue