Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into refactor/playwright-perfor…
Browse files Browse the repository at this point in the history
…mance-tests-p2
  • Loading branch information
WunderBart committed Jul 27, 2023
2 parents 84bb262 + 94381c2 commit 182fbc1
Show file tree
Hide file tree
Showing 129 changed files with 5,394 additions and 3,876 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/enforce-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Enforce labels on Pull Request
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
jobs:
type-related-labels:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "[Type] Accessibility (a11y), [Type] Automated Testing, [Type] Breaking Change, [Type] Bug, [Type] Build Tooling, [Type] Code Quality, [Type] Copy, [Type] Developer Documentation, [Type] Enhancement, [Type] Experimental, [Type] Feature, [Type] New API, [Type] Task, [Type] Performance, [Type] Project Management, [Type] Security, [Type] WP Core Ticket"
add_comment: true
message: "## ⚠️ Type of PR label error\n To merge this PR, it requires {{ errorString }} {{ count }} label indicating the type of PR. Other labels are optional and not being checked here. \n- **Type-related labels to choose from**: {{ provided }}.\n- **Labels found**: {{ applied }}."
exit_type: success
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ phpunit-watcher.yml
test/storybook-playwright/test-results
test/storybook-playwright/specs/__snapshots__
test/storybook-playwright/specs/*-snapshots/**
test/gutenberg-test-themes/twentytwentyone
test/gutenberg-test-themes/twentytwentythree
3 changes: 2 additions & 1 deletion bin/plugin/commands/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const LABEL_TYPE_MAPPING = {
'Automated Testing': 'Tools',
'[Package] Dependency Extraction Webpack Plugin': 'Tools',
'[Type] Code Quality': 'Code Quality',
'[Type] Accessibility (a11y)': 'Accessibility',
'[Type] Performance': 'Performance',
'[Type] Security': 'Security',
'[Feature] Navigation Screen': 'Experiments',
Expand Down Expand Up @@ -125,7 +126,6 @@ const LABEL_FEATURE_MAPPING = {
'[Block] Legacy Widget': 'Widgets Editor',
'REST API Interaction': 'REST API',
'New Block': 'Block Library',
'Accessibility (a11y)': 'Accessibility',
'[Package] E2E Tests': 'Testing',
'[Package] E2E Test Utils': 'Testing',
'Automated Testing': 'Testing',
Expand All @@ -149,6 +149,7 @@ const GROUP_TITLE_ORDER = [
'Enhancements',
'New APIs',
'Bug Fixes',
`Accessibility`,
'Performance',
'Experiments',
'Documentation',
Expand Down
12 changes: 8 additions & 4 deletions bin/plugin/commands/test/__snapshots__/changelog.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exports[`getChangelog verify that the changelog is properly formatted 1`] = `
#### Components
- Add new ColorPicker. ([33714](https://github.com/WordPress/gutenberg/pull/33714))
- Update snackbar to use framer motion instead of react spring. ([33717](https://github.com/WordPress/gutenberg/pull/33717))
- Use updated range styles. ([33824](https://github.com/WordPress/gutenberg/pull/33824))
#### Block Library
- [Post Featured Image]: Add basic dimension controls. ([31634](https://github.com/WordPress/gutenberg/pull/31634))
Expand Down Expand Up @@ -76,13 +75,18 @@ exports[`getChangelog verify that the changelog is properly formatted 1`] = `
#### Meta Boxes
- Fix Safari 13 metaboxes from overlapping the content. ([33817](https://github.com/WordPress/gutenberg/pull/33817))
#### Accessibility
- Fix some JAWS bugs. ([33627](https://github.com/WordPress/gutenberg/pull/33627))
#### Template Editor
- Template: Only show post template actions to users with correct capabilities. ([33392](https://github.com/WordPress/gutenberg/pull/33392))
### Accessibility
- Fix some JAWS bugs. ([33627](https://github.com/WordPress/gutenberg/pull/33627))
#### Components
- Use updated range styles. ([33824](https://github.com/WordPress/gutenberg/pull/33824))
### Performance
- Avoid double parsing the content when loading the editor. ([33727](https://github.com/WordPress/gutenberg/pull/33727))
Expand Down
4 changes: 2 additions & 2 deletions bin/plugin/commands/test/fixtures/pull-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -5750,7 +5750,7 @@
"id": 546517042,
"node_id": "MDU6TGFiZWw1NDY1MTcwNDI=",
"url": "https://api.github.com/repos/WordPress/gutenberg/labels/Accessibility%20(a11y)",
"name": "Accessibility (a11y)",
"name": "[Type] Accessibility (a11y)",
"color": "655104",
"default": false,
"description": "Changes that impact accessibility and need corresponding review (e.g. markup changes)."
Expand Down Expand Up @@ -12552,7 +12552,7 @@
"id": 546517042,
"node_id": "MDU6TGFiZWw1NDY1MTcwNDI=",
"url": "https://api.github.com/repos/WordPress/gutenberg/labels/Accessibility%20(a11y)",
"name": "Accessibility (a11y)",
"name": "[Type] Accessibility (a11y)",
"color": "655104",
"default": false,
"description": "Changes that impact accessibility and need corresponding review (e.g. markup changes)."
Expand Down
99 changes: 43 additions & 56 deletions changelog.txt

Large diffs are not rendered by default.

332 changes: 243 additions & 89 deletions docs/contributors/code/release.md

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
* Requires at least: 6.1
* Requires PHP: 5.6
* Version: 16.3.0-rc.1
* Version: 16.3.0
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down
Loading

0 comments on commit 182fbc1

Please sign in to comment.