From cd2537fae29e8af5f29364b94b109dee2f0f92e4 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Thu, 17 Sep 2026 11:47:31 -0400 Subject: [PATCH] fix: PR auto-merge step needs GH_TOKEN set A run today successfully created the PR but failed at the "set it to auto-merge" stage because of a missing env-var. See: The error text suggests using `github.token` but I stuck to `secrets.GITHUB_TOKEN` for consistency with the rest of this file. Same value, but some differences on where valid (both valid here, bias for consistency). --- .github/workflows/version-update.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/version-update.yaml b/.github/workflows/version-update.yaml index af9c756..fa651ea 100644 --- a/.github/workflows/version-update.yaml +++ b/.github/workflows/version-update.yaml @@ -135,6 +135,7 @@ jobs: id: auto_merge env: PR_NUM: ${{ steps.create_pr.outputs.pull-request-number }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr merge --merge --auto "$PR_NUM" # EOF