Skip to content

Commit fbbf7f8

Browse files
build(deps): bump changesets/action from 1 to 2 and migrate to v2 inputs (#126)
Bumps changesets/action from v1 to v2 and updates the release workflow to the renamed v2 inputs (version-script, publish-script, commit-message, pr-title, create-github-releases) plus the explicit github-token input.
1 parent 579d986 commit fbbf7f8

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ jobs:
3636

3737
- name: Create release pull request or publish to npm
3838
id: changesets
39-
uses: changesets/action@v1
39+
uses: changesets/action@v2
4040
with:
41-
version: npm run version-packages
42-
publish: npm run release
43-
commit: "chore: release packages"
44-
title: "chore: release packages"
45-
createGithubReleases: true
41+
github-token: ${{ secrets.GITHUB_TOKEN }}
42+
version-script: npm run version-packages
43+
publish-script: npm run release
44+
commit-message: "chore: release packages"
45+
pr-title: "chore: release packages"
46+
create-github-releases: true
4647
env:
4748
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4849

0 commit comments

Comments
 (0)