Changelog automation: make Accessibility a top-level section#52900
Conversation
|
Would it make sense to change the name of the label to We are currently using the |
|
Size Change: +851 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
Indeed, I'm proposing to add the prefix to the label in #52760, which adds automation to enforce all PRs have one and only one type-related label. If/when we rename the labels, I can follow up by updating the changelog generation and the automation linked above to use the renamed labels 🙂 |
bph
left a comment
There was a problem hiding this comment.
LGTM - thanks for persisting
|
Flaky tests detected in 46b5ea8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5671500222
|
What?
Makes a top-level section for Accessibility so that all accessibility-related PRs are grouped there instead of being a subgroup within enhancements or bugfixes.
Why?
This top-level section is currently done manually to give Accessibility the prominence it deserves in the changelog, so improving the automation makes sense.
How?
By treating the
Accessibility (a11y)label as a type mapping rather than as a feature mapping, with higher precedence than bugfix and enhancements labels. Test fixtures are updated, too.Testing Instructions
Run
npm run test:unit bin/plugin/commands/test/changelog.js. There will be a top-level section (### Accessibilityheading) containing two PRs, whereas before, they appeared under enhancements and bugfixes, respectively.