Created a first draft of this action. #14
4
index.js
4
index.js
@ -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
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user