From c5e9edd95ee65580ecaed93d2784c9ebf165b929 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 14 Sep 2026 15:42:56 +0200 Subject: [PATCH] minor --- .github/workflows/pr_release_notes.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_release_notes.yaml b/.github/workflows/pr_release_notes.yaml index 02234ee2a..49a843e60 100644 --- a/.github/workflows/pr_release_notes.yaml +++ b/.github/workflows/pr_release_notes.yaml @@ -132,9 +132,10 @@ jobs: const releaseNotes = findReleaseNotesSection(pr.body || ''); const hasNoReleaseNoteLabel = labelNames.includes('No release note'); - core.info(`Release notes section found: ${releaseNotes}`); if (releaseNotes) { + core.info(`Release notes found in the PR body: ${releaseNotes}`); + if (hasNoReleaseNoteLabel) { core.setFailed( 'The PR has a "## Release notes" section but is also labeled "No release note". Remove the label or remove the release notes section.' @@ -149,7 +150,7 @@ jobs: return; } - core.info('Release notes found in the PR body.'); + core.info(`Confirm no further action required for release notes.`); return; }