Workflow Update
This commit is contained in:
parent
b245d40a6d
commit
be3ea7ebed
8
.github/workflows/changelog-pr.yaml
vendored
8
.github/workflows/changelog-pr.yaml
vendored
@ -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 =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user