From 335fa89d28e097a96d0fedd1d32bd0b567f5aa87 Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Sat, 27 Jun 2026 19:23:52 -0500 Subject: [PATCH] fix(ci): use default GITHUB_TOKEN for changesets changelog step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Release workflow failed at `changeset version` because @changesets/changelog-github's GraphQL request fails when authenticated with the vland-bot App token — GitHub closes the response mid-body ("Premature close"). The default token completes the same request. Switch the changesets/action GITHUB_TOKEN to ${{ secrets.GITHUB_TOKEN }}. The App token still authenticates actions/checkout, so the version-branch, tag, and publish pushes keep triggering downstream workflows. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3967dc2..ea0a0c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,6 @@ jobs: publish: pnpm changeset publish setupGitUser: false env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} LEFTHOOK: 0