Workflow Update

This commit is contained in:
Michel Roegl-Brunner 2025-03-24 15:22:09 +01:00
parent b245d40a6d
commit be3ea7ebed

View File

@ -128,15 +128,17 @@ jobs:
const issueAuthorUrl = `https://github.com/${issueAuthor}`; const issueAuthorUrl = `https://github.com/${issueAuthor}`;
prNote = `- ${pr.title} [@${issueAuthor}](${issueAuthorUrl}) ([#${pr.number}](${pr.html_url}))`; prNote = `- ${pr.title} [@${issueAuthor}](${issueAuthorUrl}) ([#${pr.number}](${pr.html_url}))`;
} }
else {
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
}
} catch (error) { } catch (error) {
console.error(`Error fetching related issues: ${error}`); console.error(`Error fetching related issues: ${error}`);
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
} }
}else{
prNote = `- ${pr.title} [@${pr.user.login}](https://github.com/${pr.user.login}) ([#${pr.number}](${pr.html_url}))`;
} }
prNote = `- ${pr.title} [@${pr.user.login}](https://github.com/${pr.user.login}) ([#${pr.number}](${pr.html_url}))`;
if (prLabels.includes("new script")) { if (prLabels.includes("new script")) {
const newScriptCategory = categorizedPRs.find(category => const newScriptCategory = categorizedPRs.find(category =>