ci: stop requiring PR numbers in changelog#26
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ca1f7308c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (line.startsWith("+")) { | ||
| const text = line.slice(1); | ||
| if (text.includes(prToken)) { | ||
| addedPrLines.push({ line: currentLine, text }); | ||
| } | ||
| addedLines.push({ line: currentLine, text }); |
There was a problem hiding this comment.
Exclude subsection headers from changelog entry validation
This change now records every added CHANGELOG.md line and validates each as if it were an entry line. In an empty ## Unreleased block (a common post-release state), adding the first subsection header like ### Features will fail because that header has no preceding ### to satisfy the subsection lookup, triggering Changelog PR entry must be inside a ### subsection. As a result, valid PRs can be blocked even when they add a properly formatted entry under ## Unreleased.
Useful? React with 👍 / 👎.
Summary
## Unreleasedin a###subsectionTest