From be3ea7ebed56668b54196d329bb246f5b1f9f38e Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 24 Mar 2025 15:22:09 +0100 Subject: [PATCH] Workflow Update --- .github/workflows/changelog-pr.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index 973d26d..5b5c0b5 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -128,15 +128,17 @@ jobs: const issueAuthorUrl = `https://github.com/${issueAuthor}`; prNote = `- ${pr.title} [@${issueAuthor}](${issueAuthorUrl}) ([#${pr.number}](${pr.html_url}))`; } + else { + prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; + } } catch (error) { console.error(`Error fetching related issues: ${error}`); 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")) { const newScriptCategory = categorizedPRs.find(category =>