Workflow Update
This commit is contained in:
parent
70e253e956
commit
7df69ca5a6
5
.github/workflows/changelog-pr.yaml
vendored
5
.github/workflows/changelog-pr.yaml
vendored
@ -115,7 +115,7 @@ jobs:
|
|||||||
console.error("PR created by push-to-main-app");
|
console.error("PR created by push-to-main-app");
|
||||||
const scriptName = pr.title;
|
const scriptName = pr.title;
|
||||||
continue;
|
continue;
|
||||||
if (scriptName) {
|
|
||||||
try {
|
try {
|
||||||
const { data: relatedIssues } = await github.rest.issues.listForRepo({
|
const { data: relatedIssues } = await github.rest.issues.listForRepo({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
@ -135,9 +135,6 @@ jobs:
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(`Error fetching related issues: ${error}`);
|
console.error(`Error fetching related issues: ${error}`);
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find matching category
|
// Find matching category
|
||||||
|
Loading…
x
Reference in New Issue
Block a user