From 778459a2674f9e39e7cbab265660ff56dae51b6a Mon Sep 17 00:00:00 2001 From: Nik Richers Date: Wed, 8 Oct 2025 16:16:06 -0700 Subject: [PATCH 1/2] Update release_notes_check.yaml --- .github/workflows/release_notes_check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_notes_check.yaml b/.github/workflows/release_notes_check.yaml index 792697140..38bb167e6 100644 --- a/.github/workflows/release_notes_check.yaml +++ b/.github/workflows/release_notes_check.yaml @@ -6,7 +6,7 @@ on: permissions: contents: read - pull-requests: read + pull-requests: write jobs: ci_check: From 860b07a66c0c25b3e1a8a1d5f3801910e6948b80 Mon Sep 17 00:00:00 2001 From: Nik Richers Date: Wed, 8 Oct 2025 16:34:35 -0700 Subject: [PATCH 2/2] Update release_notes_check.py --- .github/scripts/release_notes_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/release_notes_check.py b/.github/scripts/release_notes_check.py index ceb36ca4a..0739f984d 100644 --- a/.github/scripts/release_notes_check.py +++ b/.github/scripts/release_notes_check.py @@ -53,7 +53,7 @@ def ci_check(pr_number, access_token): if release_notes_match: release_notes_text = release_notes_match.group(1).strip() if release_notes_text and release_notes_text != "": - comment = "Pull requests must include at least one of the required labels: `internal` (no release notes required), `highlight`, `enhancement`, `bug`, `deprecation`, `documentation`." + comment = "Pull requests must include at least one of the required labels: `internal` (no release notes required), `highlight`, `enhancement`, `bug`, `deprecation`, `documentation`. Except for `internal`, pull requests must also include a description in the release notes section." pr.create_issue_comment(comment) return False # Pull request has neither a label nor a description