From 891eea552abc03838d064fce8c612fd67698578f Mon Sep 17 00:00:00 2001 From: Tobias Fischer Date: Sat, 10 Oct 2026 13:49:03 +1000 Subject: [PATCH] Actions on Node 24: create-github-app-token v3, create-pull-request v8 Both were still on Node 20, which GitHub deprecated and now forces onto Node 24. The new majors only change the runtime (and, for the token action, drop custom proxy handling, which we don't use). Every other action we use, also in the generated build workflows, already runs on Node 24. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/automerge.yaml | 2 +- .github/workflows/bot.yaml | 4 ++-- .github/workflows/main.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml index 7c6e95d00..9b948161c 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -29,7 +29,7 @@ jobs: - name: Bot token id: app if: vars.ROBOSTACK_BOT_APP_ID != '' - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.ROBOSTACK_BOT_APP_ID }} private-key: ${{ secrets.ROBOSTACK_BOT_PRIVATE_KEY }} diff --git a/.github/workflows/bot.yaml b/.github/workflows/bot.yaml index 05368fdb1..59ce86a73 100644 --- a/.github/workflows/bot.yaml +++ b/.github/workflows/bot.yaml @@ -100,7 +100,7 @@ jobs: - name: Bot token id: app if: vars.ROBOSTACK_BOT_APP_ID != '' - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.ROBOSTACK_BOT_APP_ID }} private-key: ${{ secrets.ROBOSTACK_BOT_PRIVATE_KEY }} @@ -146,7 +146,7 @@ jobs: printf '\nCloses #%s\n' "$NUMBER" >> "$RUNNER_TEMP/summary.md" - name: Open or update the pull request if: steps.bot.outputs.changed == 'true' && !matrix.preview - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@v8 with: token: ${{ steps.app.outputs.token || secrets.GHA_PAT || github.token }} branch: bot/${{ matrix.command }}${{ matrix.distro && format('-{0}', matrix.distro) || '' }}${{ matrix.command == 'add-package' && format('-{0}', github.run_id) || '' }} diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 1ddd9d87d..714f84292 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -68,7 +68,7 @@ jobs: - name: Bot token (pushing workflow files needs more than GITHUB_TOKEN) id: app if: vars.ROBOSTACK_BOT_APP_ID != '' - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.ROBOSTACK_BOT_APP_ID }} private-key: ${{ secrets.ROBOSTACK_BOT_PRIVATE_KEY }}