From 1f01d0d823276a7bb865062eafb6fea94caad035 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 19:42:49 +0100 Subject: [PATCH] Removed a double input. --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index dfa8fc1..8877b75 100644 --- a/index.js +++ b/index.js @@ -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