Fixed the empty lists a bit.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 32s
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 32s
This commit is contained in:
parent
7d6482c31d
commit
b5d5d999c4
4
index.js
4
index.js
@ -47,8 +47,8 @@ async function getAndPostPullRequests() {
|
|||||||
head: branch,
|
head: branch,
|
||||||
base: base_branch,
|
base: base_branch,
|
||||||
assignee: assignee || undefined, // Changed to be omitted if empty
|
assignee: assignee || undefined, // Changed to be omitted if empty
|
||||||
assignees: assigneesInput ? assigneesInput.split(",") : undefined, // Changed to be omitted if empty
|
assignees: assigneesInput ? assigneesInput.split(",") : [], // Changed to be omitted if empty
|
||||||
labels: labelsInput ? labelsInput.split(",").map(Number) : undefined, // 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
|
due_date: dueDate || undefined, // Changed to be omitted if empty
|
||||||
milestone: milestone ? parseInt(milestone, 10) : 0, // 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