From 97fd158c477683b1eb95a9d8299e15ff976212d9 Mon Sep 17 00:00:00 2001 From: Steven Sacks Date: Mon, 27 Apr 2026 22:44:52 +0900 Subject: [PATCH] chore(ci): use RELEASE_TOKEN PAT in release workflow Swaps secrets.GITHUB_TOKEN for secrets.RELEASE_TOKEN on actions/checkout and the changesets/action env. PRs created with GITHUB_TOKEN don't trigger downstream workflows (GitHub's recursion guard); using a PAT restores normal pull_request CI triggering. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index efad913..4a878da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.RELEASE_TOKEN }} - uses: pnpm/action-setup@v4 @@ -45,5 +46,5 @@ jobs: commit: "chore: version packages" title: "chore: version packages" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} NPM_CONFIG_PROVENANCE: "true"