Skip to content

Commit d770489

Browse files
committed
ci: Pass token to changeset versioning
The custom Version Packages path runs the version script directly instead of through changesets/action. Export the GitHub token so the changelog plugin can resolve pull request and author metadata.
1 parent a9f1686 commit d770489

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ jobs:
9191
9292
- name: Version packages
9393
if: steps.pending-changesets.outputs.present == 'true'
94+
env:
95+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9496
run: node .github/changeset-version.mjs
9597

9698
# changesets/action fixes its branch name to changeset-release/<base>.

0 commit comments

Comments
 (0)