diff --git a/src/index.js b/src/index.js index 827ebad..fe422e9 100644 --- a/src/index.js +++ b/src/index.js @@ -64,7 +64,7 @@ async function run() { projectColumn: core.getInput("project-column"), draft: core.getInput("draft"), branch: core.getInput("branch"), - request_to_parent: core.getInput("request-to-parent"), + requestToParent: core.getInput("request-to-parent"), base: core.getInput("base"), branchSuffix: core.getInput("branch-suffix") }; @@ -87,7 +87,7 @@ async function run() { if (inputs.projectColumn) process.env.CPR_PROJECT_COLUMN_NAME = inputs.projectColumn; if (inputs.draft) process.env.CPR_DRAFT = inputs.draft; if (inputs.branch) process.env.CPR_BRANCH = inputs.branch; - if (inputs.request_to_parent) process.env.CPR_REQUEST_TO_PARENT = inputs.request_to_parent; + if (inputs.requestToParent) process.env.CPR_REQUEST_TO_PARENT = inputs.requestToParent; if (inputs.base) process.env.CPR_BASE = inputs.base; if (inputs.branchSuffix) process.env.CPR_BRANCH_SUFFIX = inputs.branchSuffix;