Skip to content
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: update to work with consolidated a11y labels #52896

Merged
merged 2 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions bin/plugin/commands/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ const LABEL_FEATURE_MAPPING = {
'REST API Interaction': 'REST API',
'New Block': 'Block Library',
'Accessibility (a11y)': 'Accessibility',
'[a11y] Color Contrast': 'Accessibility',
'[a11y] Keyboard & Focus': 'Accessibility',
'[a11y] Labelling': 'Accessibility',
'[a11y] Zooming': 'Accessibility',
'[Package] E2E Tests': 'Testing',
'[Package] E2E Test Utils': 'Testing',
'Automated Testing': 'Testing',
Expand Down
12 changes: 6 additions & 6 deletions bin/plugin/commands/test/fixtures/pull-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -5747,13 +5747,13 @@
"description": "/packages/components"
},
{
"id": 1344464662,
"node_id": "MDU6TGFiZWwxMzQ0NDY0NjYy",
"url": "https://api.github.com/repos/WordPress/gutenberg/labels/[a11y]%20Keyboard%20&%20Focus",
"name": "[a11y] Keyboard & Focus",
"color": "efde5d",
"id": 546517042,
"node_id": "MDU6TGFiZWw1NDY1MTcwNDI=",
"url": "https://api.github.com/repos/WordPress/gutenberg/labels/Accessibility%20(a11y)",
"name": "Accessibility (a11y)",
"color": "655104",
"default": false,
"description": ""
"description": "Changes that impact accessibility and need corresponding review (e.g. markup changes)."
}
],
"state": "closed",
Expand Down
Loading