Skip to content

Add preview changelog and a PR entry check - #1

Merged
CollinCraig merged 4 commits into
mainfrom
chore/changelog-policy-20261114
Nov 14, 2026
Merged

CollinCraig merged 4 commits into
mainfrom
chore/changelog-policy-20261114

Conversation

@CollinCraig

@CollinCraig CollinCraig commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

The PR check compares parsed changelog entries at the base and head SHAs. A product change requires a new nonempty entry only under Unreleased. Blank lines, whitespace-only changes, historical edits and moved entries cannot satisfy it. Existing entry text is preserved. Documented docs/tests/CI paths and the explicit no-changelog label can skip the PR gate. Mixed changes stay in scope. The workflow uses pull_request, read-only permissions and a SHA-pinned github-script action; it reads API data without checking out or executing PR code. Tests exercise the actual inline workflow script.

Workflow policy: 66 passed. CLI suite with pinned dependencies: 42 total, 39 passed, 3 skipped. All tests in this revision ran through md-heavy.

No merge, tag or deployment was performed. Required-check branch protection is not configured by this PR.

Delta review fix: the parser now strips closed/unclosed HTML comments, skips backtick and tilde fences, strips emphasis/code/strike markup, and requires an alphanumeric character. Entries require a bracketed level-two release heading and a standard level-three category. Every existing normalized base entry must remain in the head. New regression coverage rejects all reported bypasses, malformed scopes and disguised edits. All 56 workflow cases passed through md-heavy.

Round-three delta: only whitespace may follow a closing fence; an info string is allowed only on the opener. New entries count only under [Unreleased]; dated-only additions fail, while existing entries in all releases must remain unchanged. Added ten fence cases (including positive closing/opening controls) and reversed the dated-section acceptance test. Current policy suite: 66 passed, 0 failed, 0 skipped through md-heavy. Application/browser suites were not rerun for this workflow-only delta.

Signed-off-by: Collin Craig <5287878+CollinCraig@users.noreply.github.com>
Signed-off-by: Collin Craig <5287878+CollinCraig@users.noreply.github.com>
Signed-off-by: Collin Craig <5287878+CollinCraig@users.noreply.github.com>
Signed-off-by: Collin Craig <5287878+CollinCraig@users.noreply.github.com>
@CollinCraig
CollinCraig merged commit 295b087 into main Nov 14, 2026
3 checks passed
@CollinCraig
CollinCraig deleted the chore/changelog-policy-20261114 branch November 14, 2026 20:57
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