Created a first draft of this action. #14

Merged
Philipp merged 68 commits from draft into main 2023-11-19 23:21:49 +01:00
Showing only changes of commit b5d5d999c4 - Show all commits

View File

@ -47,8 +47,8 @@ async function getAndPostPullRequests() {
head: branch,
base: base_branch,
assignee: assignee || undefined, // Changed to be omitted if empty
assignees: assigneesInput ? assigneesInput.split(",") : undefined, // Changed to be omitted if empty
labels: labelsInput ? labelsInput.split(",").map(Number) : 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
milestone: milestone ? parseInt(milestone, 10) : 0, // Changed to be omitted if empty
};