Skip to content

Commit 1f6593a

Browse files
ci: use the input names changesets/action v2 expects (#4838)
v2 renamed every input this workflow passes, so the release job has failed since the action was bumped in #4831: `version` is `version-script`, `publish` is `publish-script`, `commit` is `commit-message` and `title` is `pr-title`. Note the action's own error message misspells one of them as `commit-mesage`; `action.yml` at the pinned commit spells it `commit-message`, and taking the error at its word would silently restore the default "Version Packages" commit message.
1 parent 99cfc4f commit 1f6593a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
id: changesets
3535
uses: changesets/action@198f833dd7d863100ea6e28967bc9a9fdefadb0a # v2.1.0
3636
with:
37-
version: npm run version
38-
publish: npm run release
39-
commit: "chore(release): new release"
40-
title: "chore(release): new release"
37+
version-script: npm run version
38+
publish-script: npm run release
39+
commit-message: "chore(release): new release"
40+
pr-title: "chore(release): new release"
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
NPM_TOKEN: "" # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868

0 commit comments

Comments
 (0)