Skip to content

Accept changelog headings with or without a colon - #59219

Closed
cortinico wants to merge 1 commit into
mainfrom
ci/accept-changelog-heading
Closed

cortinico wants to merge 1 commit into
mainfrom
ci/accept-changelog-heading

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

Allow Analyze Pull Request to recognize both ## Changelog and ## Changelog: in PR descriptions. The PR template uses a colon, but a properly tagged changelog under a heading without one was incorrectly reported as missing. Preserve the existing colon format and requirement for a tagged entry. Remove the stateful global flag from the internal changelog pattern so repeated validations agree.

Changelog:

[INTERNAL] [FIXED] - Accept changelog headings with or without a colon in PR validation.

Test Plan:

  • yarn test .github/workflow-scripts/__tests__/validatePRBody-test.js --runInBand --silent — passed (6 tests).
  • yarn prettier .github/workflow-scripts/validatePRBody.js .github/workflow-scripts/__tests__/validatePRBody-test.js --check — passed.
  • yarn lint — passed.
  • git diff --check — passed.

No UI changes; screenshots are not applicable.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 20, 2026
@cortinico
cortinico marked this pull request as ready for review October 20, 2026 10:45
@meta-codesync

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D126318404.

@meta-codesync meta-codesync Bot closed this in fa2baa2 Oct 20, 2026
@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 20, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in fa2baa2

When will my fix make it into a release? | How to file a pick request?

@meta-codesync

meta-codesync Bot commented Oct 20, 2026

Copy link
Copy Markdown

@cortinico merged this pull request in fa2baa2.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants