My PR Title #8

Closed
Philipp wants to merge 62 commits from update/pre-commit-hooks into main
803 changed files with 54121 additions and 0 deletions
Showing only changes of commit 9c5c25c7a0 - Show all commits

View File

@ -45,10 +45,10 @@ async function getAndPostPullRequests() {
body: body,
head: branch,
base: base_branch,
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
// 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
};
// Perform the GET request to check if a similar PR exists
const getResponse = await fetch(`${url}?state=open&head=${branch}`, {