Repository navigation
Add preview changelog and a PR entry check - #1
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.