mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Remove cwd option (#659)
This commit is contained in:
+2
-2
@@ -19,8 +19,8 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
|
||||
return;
|
||||
}
|
||||
|
||||
const cwd = path.resolve(getOptionalInput("cwd") ?? "");
|
||||
core.info(`using resolved cwd: ${cwd}`);
|
||||
// If the user needs to change the cwd, set `working-directory` in the step instead
|
||||
const cwd = process.cwd();
|
||||
|
||||
const octokit = setupOctokit(githubToken);
|
||||
const commitMode = getOptionalInput("commitMode") ?? "git-cli";
|
||||
|
||||
Reference in New Issue
Block a user