-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changelog automation: make Accessibility a top-level section #52900
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 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 (### Accessibility
heading) containing two PRs, whereas before, they appeared under enhancements and bugfixes, respectively.