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:
Andrew Poelstra 2024-03-07 14:46:16 +00:00
parent 775d0c74cd
commit 6b3c8b9f6b
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 0 deletions

View File

@ -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 }})