Removed a double input.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 32s

This commit is contained in:
Philipp Horstenkamp 2023-11-19 19:42:49 +01:00
parent b5d5d999c4
commit 1f01d0d823
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -13,7 +13,6 @@ async function getAndPostPullRequests() {
const base_branch = core.getInput("base_branch") || "main";
const title = core.getInput("title");
const body = core.getInput("body") || "";
const assignee = core.getInput("assignee");
const assigneesInput = core.getInput("assignees");
const labelsInput = core.getInput("labels");
const dueDate = core.getInput("due_date");
@ -46,7 +45,6 @@ async function getAndPostPullRequests() {
body: body,
head: branch,
base: base_branch,
assignee: assignee || undefined, // Changed to be omitted if empty
assignees: assigneesInput ? assigneesInput.split(",") : [], // Changed to be omitted if empty
labels: labelsInput ? labelsInput.split(",").map(Number) : [], // Changed to be omitted if empty
due_date: dueDate || undefined, // Changed to be omitted if empty