[STG-1702] fix: pass GITHUB_TOKEN to changeset version step in release-cli workflow
Merged
SH
8mo ago+2+2+0123456789-0-0-0123456789
Summary
- The
pnpm changeset versionstep inrelease-cli.ymlcalls@changesets/changelog-github, which fetches PR metadata from the GitHub API and requiresGITHUB_TOKENto authenticate - The token was only passed to the "Commit version bump and tag" step, so the version step failed with a 403 when trying to generate changelogs
- Added
env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}to the "Version browse-cli" step
Failed run: https://github.com/browserbase/stagehand/actions/runs/23624352586/job/68810210512
Test plan
- Trigger the
Release CLIworkflow on main after merging and verify the version step succeeds
🤖 Generated with Claude Code
Summary by cubic
Pass GITHUB_TOKEN to the changeset version step in the Release CLI workflow to authenticate @changesets/changelog-github and prevent 403s during changelog generation. Addresses STG-xxx.
- Bug Fixes
- Added
env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}to the "Version browse-cli" step sopnpm changeset versioncan fetch PR metadata.
- Added