Fixed .changeset state being picked for the version command when cwd parameter is provided (#536)

* actually use cwd parameter when reading changeset state

* tweak changeset

---------

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
Rafi Adnan
2026-03-31 17:47:34 +02:00
committed by GitHub
co-authored by Mateusz Burzyński
parent 6002dbd987
commit 81b3f61ebf
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
"@changesets/action": patch
---
Making sure that `.changeset` information is picked up, when `cwd` parameter is provided
Fixed initial `.changeset` state being picked up, when `cwd` parameter is provided
+5
View File
@@ -0,0 +1,5 @@
---
"@changesets/action": patch
---
Fixed `.changeset` state being picked for the version command when `cwd` parameter is provided
+1
View File
@@ -143,6 +143,7 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
githubToken,
git,
octokit,
cwd,
prTitle: getOptionalInput("title"),
commitMessage: getOptionalInput("commit"),
hasPublishScript,