From 7df69ca5a69040c7bbaa337a459568839a7a5006 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 24 Mar 2025 13:01:18 +0100 Subject: [PATCH] Workflow Update --- .github/workflows/changelog-pr.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/changelog-pr.yaml b/.github/workflows/changelog-pr.yaml index 56db2e0..63f1648 100644 --- a/.github/workflows/changelog-pr.yaml +++ b/.github/workflows/changelog-pr.yaml @@ -115,7 +115,7 @@ jobs: console.error("PR created by push-to-main-app"); const scriptName = pr.title; continue; - if (scriptName) { + try { const { data: relatedIssues } = await github.rest.issues.listForRepo({ owner: context.repo.owner, @@ -135,9 +135,6 @@ jobs: } catch (error) { console.error(`Error fetching related issues: ${error}`); } - } else { - prNote = `- ${pr.title} ([#${pr.number}](${pr.html_url}))`; - } } // Find matching category