Skip to content

fix(ci): reject placeholder release notes and multiple ticked status boxes - #538

Open
sol-wizard wants to merge 1 commit into
mainfrom
strict-release-note-check
Open

sol-wizard wants to merge 1 commit into
mainfrom
strict-release-note-check

Conversation

@sol-wizard

Copy link
Copy Markdown
Owner

Summary

pr-release-note-check.yml only checked that the ## Release note heading existed and that at least one checkbox was ticked — so a PR that left the untouched template placeholder as its release note still passed (e.g. #534), and the release-notes generator got nothing usable. Now the check also fails when:

  • the > note line is missing, empty, or still the template placeholder (none is still accepted)
  • more than one Status box is ticked (counted inside the Release note section only, so checklists in the Summary don't interfere)

Script logic tested locally against 8 body variants (placeholder, reworded placeholder, none, missing quote, 0/2 ticks, summary checklists). This PR's own check run exercises the new version.

Release note

none

Status:

  • User-facing — announce it
  • Beta / partial — announce, but tagged as beta
  • Hidden in production (feature-flagged / not enabled for users) — don't announce
  • Internal only (refactor / infra / tests / CI / deps) — don't announce

…boxes

The check only verified that the heading existed and that at least one
checkbox was ticked, so a PR keeping the untouched template placeholder
as its release note still passed (and fed nothing usable to the
release-notes generator). Now it also requires a real '>' note line —
placeholder text fails, "none" passes — and exactly one ticked Status
box, counted within the Release note section only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Test Results

98 tests   98 ✅  12s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 5f1c898.

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor
Package Line Rate Branch Rate Complexity Health
BlotzTask 4% 31% 2679
BlotzTask 4% 31% 2679
Summary 4% (4172 / 110698) 31% (842 / 2750) 5358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant