From 92bd80df108cd29721c50c0334d369655382d688 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 24 Mar 2025 13:48:01 +0100 Subject: [PATCH] Workflow Update --- .github/workflows/changelog-pr.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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) {