diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index f4fdedcd..a6197de1 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -112,9 +112,7 @@ jobs: if (pr.user.login.includes("push-app-to-main[bot]")) { - const scriptName = pr.title; - try { const { data: relatedIssues } = await github.rest.issues.listForRepo({ owner: context.repo.owner, @@ -123,12 +121,9 @@ jobs: labels: ["Started Migration To ProxmoxVE"], per_page: 5 }); - const matchingIssue = relatedIssues.find(issue => issue.title.toLowerCase().includes(scriptName.toLowerCase()) - ); - if (matchingIssue) { const issueAuthor = matchingIssue.user.login; const issueAuthorUrl = `https://github.com/${issueAuthor}`; @@ -139,7 +134,7 @@ jobs: prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; } } - + console.log(categorizedPRs); for (const category of categorizedPRs) { if (category.labels.some(label => prLabels.includes(label))) { if (category.subCategories && category.subCategories.length > 0) {