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
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,