diff --git a/.changeset/plenty-areas-tie.md b/.changeset/plenty-areas-tie.md index 663b7318..3422a5e8 100644 --- a/.changeset/plenty-areas-tie.md +++ b/.changeset/plenty-areas-tie.md @@ -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 diff --git a/.changeset/splendid-facts-like.md b/.changeset/splendid-facts-like.md new file mode 100644 index 00000000..e2c9a529 --- /dev/null +++ b/.changeset/splendid-facts-like.md @@ -0,0 +1,5 @@ +--- +"@changesets/action": patch +--- + +Fixed `.changeset` state being picked for the version command when `cwd` parameter is provided diff --git a/src/index.ts b/src/index.ts index c4356d56..d8d1cc9d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -143,6 +143,7 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined; githubToken, git, octokit, + cwd, prTitle: getOptionalInput("title"), commitMessage: getOptionalInput("commit"), hasPublishScript,