From 6b3c8b9f6bcb58944046fd5fd0f450fde61554bb Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Thu, 7 Mar 2024 14:46:16 +0000 Subject: [PATCH] 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.) --- .github/workflows/cron-daily-update-nightly.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cron-daily-update-nightly.yml b/.github/workflows/cron-daily-update-nightly.yml index cf1e1e0e..0553d524 100644 --- a/.github/workflows/cron-daily-update-nightly.yml +++ b/.github/workflows/cron-daily-update-nightly.yml @@ -31,6 +31,7 @@ jobs: if: env.changes_made == 'true' uses: peter-evans/create-pull-request@v6 with: + token: ${{ secrets.APOELSTRA_CREATE_PR_TOKEN }} author: Update Nightly Rustc Bot committer: Update Nightly Rustc Bot title: Automated daily update to rustc (to nightly-${{ env.nightly_date }})