Skip to content

Commit 78857bd

Browse files
committed
prep build 05/14
2 parents 8b4de73 + 9606680 commit 78857bd

File tree

382 files changed

+7669
-5762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

382 files changed

+7669
-5762
lines changed

.github/workflows/build-plugin-zip.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
steps:
7171
- name: Checkout code
72-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
72+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
7373
with:
7474
token: ${{ secrets.GUTENBERG_TOKEN }}
7575
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -165,7 +165,7 @@ jobs:
165165

166166
steps:
167167
- name: Checkout code
168-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
168+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
169169
with:
170170
ref: ${{ needs.bump-version.outputs.release_branch || github.ref }}
171171
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -222,7 +222,7 @@ jobs:
222222
223223
steps:
224224
- name: Checkout code
225-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
225+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
226226
with:
227227
fetch-depth: 2
228228
ref: ${{ needs.bump-version.outputs.release_branch }}
@@ -311,14 +311,14 @@ jobs:
311311
if: ${{ endsWith( needs.bump-version.outputs.new_version, '-rc.1' ) }}
312312
steps:
313313
- name: Checkout (for CLI)
314-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
314+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
315315
with:
316316
path: main
317317
ref: trunk
318318
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
319319

320320
- name: Checkout (for publishing)
321-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
321+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
322322
with:
323323
path: publish
324324
# Later, we switch this branch in the script that publishes packages.

.github/workflows/bundle-size.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838

3939
steps:
40-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
40+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
4141
with:
4242
fetch-depth: 1
4343
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

.github/workflows/check-components-changelog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: 'Get PR commit count'
2121
run: echo "PR_COMMIT_COUNT=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
2222
- name: Checkout code
23-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
23+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2424
with:
2525
ref: ${{ github.event.pull_request.head.ref }}
2626
repository: ${{ github.event.pull_request.head.repo.full_name }}

.github/workflows/create-block.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']
2525

2626
steps:
27-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
27+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2828
with:
2929
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3030

.github/workflows/end2end-test.yml

+35-12
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
totalParts: [8]
2828

2929
steps:
30-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
30+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3131
with:
3232
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3333

@@ -53,52 +53,75 @@ jobs:
5353
5454
- name: Archive debug artifacts (screenshots, traces)
5555
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
56-
if: always()
56+
if: ${{ !cancelled() }}
5757
with:
58-
name: failures-artifacts
58+
name: failures-artifacts--${{ matrix.part }}
5959
path: artifacts/test-results
6060
if-no-files-found: ignore
6161

6262
- name: Archive flaky tests report
6363
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
64-
if: always()
64+
if: ${{ !cancelled() }}
6565
with:
66-
name: flaky-tests-report
66+
name: flaky-tests-report--${{ matrix.part }}
6767
path: flaky-tests
6868
if-no-files-found: ignore
6969

70+
merge-artifacts:
71+
name: Merge Artifacts
72+
if: ${{ !cancelled() }}
73+
needs: [e2e-playwright]
74+
runs-on: ubuntu-latest
75+
outputs:
76+
has-flaky-test-report: ${{ !!steps.merge-flaky-tests-reports.outputs.artifact-id }}
77+
steps:
78+
- name: Merge failures artifacts
79+
uses: actions/upload-artifact/merge@v4
80+
# Don't fail the job if there aren't any artifacts to merge.
81+
continue-on-error: true
82+
with:
83+
name: failures-artifacts
84+
# Retain the merged artifacts in case of a rerun.
85+
pattern: failures-artifacts*
86+
delete-merged: true
87+
88+
- name: Merge flaky tests reports
89+
id: merge-flaky-tests-reports
90+
uses: actions/upload-artifact/merge@v4
91+
continue-on-error: true
92+
with:
93+
name: flaky-tests-report
94+
pattern: flaky-tests-report*
95+
delete-merged: true
96+
7097
report-to-issues:
7198
name: Report to GitHub
72-
needs: [e2e-playwright]
73-
if: ${{ always() }}
99+
needs: [merge-artifacts]
100+
if: ${{ needs.merge-artifacts.outputs.has-flaky-test-report == 'true' }}
74101
runs-on: ubuntu-latest
75102
steps:
76103
# Checkout defaults to using the branch which triggered the event, which
77104
# isn't necessarily `trunk` (e.g. in the case of a merge).
78-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
105+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
79106
with:
80107
ref: trunk
81108
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
82109

83110
- uses: actions/[email protected]
84-
id: download_artifact
85111
# Don't fail the job if there isn't any flaky tests report.
86112
continue-on-error: true
87113
with:
88114
name: flaky-tests-report
89115
path: flaky-tests
90116

91117
- name: Setup Node.js and install dependencies
92-
if: ${{ steps.download_artifact.outcome == 'success' }}
93118
uses: ./.github/setup-node
94119

95120
- name: Npm build
96-
if: ${{ steps.download_artifact.outcome == 'success' }}
97121
# TODO: We don't have to build the entire project, just the action itself.
98122
run: npm run build:packages
99123

100124
- name: Report flaky tests
101-
if: ${{ steps.download_artifact.outcome == 'success' }}
102125
uses: ./packages/report-flaky-tests
103126
with:
104127
repo-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/gradle-wrapper-validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
name: 'Validation'
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
9+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1010
with:
1111
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
1212
- uses: gradle/wrapper-validation-action@v3

.github/workflows/performance.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
WP_ARTIFACTS_PATH: ${{ github.workspace }}/artifacts
3333

3434
steps:
35-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
35+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3636
with:
3737
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3838

@@ -84,6 +84,9 @@ jobs:
8484
run: |
8585
./bin/plugin/cli.js perf $(echo $BRANCHES | tr ',' ' ') --tests-branch $GITHUB_SHA --wp-version "$WP_VERSION"
8686
87+
- name: Add workflow summary
88+
run: cat ${{ env.WP_ARTIFACTS_PATH }}/summary.md >> $GITHUB_STEP_SUMMARY
89+
8790
- name: Archive performance results
8891
if: success()
8992
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3

.github/workflows/php-changes-detection.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
1111
steps:
1212
- name: Check out code
13-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
13+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1414
with:
1515
fetch-depth: 0
1616
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
@@ -20,7 +20,9 @@ jobs:
2020
uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69 # v44.3.0
2121
with:
2222
files: |
23-
**.{php}
23+
lib/**
24+
packages/**/*.php
25+
phpunit/**
2426
2527
- name: List all changed files
2628
if: steps.changed-files-php.outputs.any_changed == 'true'

.github/workflows/publish-npm-packages.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
steps:
3232
- name: Checkout (for CLI)
3333
if: ${{ github.event.inputs.release_type != 'wp' }}
34-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
34+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3535
with:
3636
path: cli
3737
ref: trunk
3838
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3939

4040
- name: Checkout (for publishing)
4141
if: ${{ github.event.inputs.release_type != 'wp' }}
42-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
42+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
4343
with:
4444
path: publish
4545
# Later, we switch this branch in the script that publishes packages.
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Checkout (for publishing WP major version)
5151
if: ${{ github.event.inputs.release_type == 'wp' && github.event.inputs.wp_version }}
52-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
52+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
5353
with:
5454
path: publish
5555
ref: wp/${{ github.event.inputs.wp_version }}

.github/workflows/pull-request-automation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
# Checkout defaults to using the branch which triggered the event, which
1414
# isn't necessarily `trunk` (e.g. in the case of a merge).
15-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
15+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1616
with:
1717
ref: trunk
1818
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

.github/workflows/rnmobile-android-runner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: checkout
26-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
26+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2727
with:
2828
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
2929

.github/workflows/rnmobile-ios-runner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
native-test-name: [gutenberg-editor-rendering]
2424

2525
steps:
26-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
26+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2727
with:
2828
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
2929

.github/workflows/static-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }}
2323

2424
steps:
25-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
25+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
2626
with:
2727
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
2828

.github/workflows/storybook-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
15+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
1616
with:
1717
ref: trunk
1818
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}

.github/workflows/unit-test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
35+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
3636
with:
3737
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
3838

@@ -70,7 +70,7 @@ jobs:
7070

7171
steps:
7272
- name: Checkout repository
73-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
73+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
7474
with:
7575
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
7676

@@ -121,7 +121,7 @@ jobs:
121121
name: Build JavaScript assets for PHP unit tests
122122
runs-on: ubuntu-latest
123123
steps:
124-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
124+
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
125125
with:
126126
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
127127

@@ -170,7 +170,7 @@ jobs:
170170

171171
steps:
172172
- name: Checkout repository
173-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
173+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
174174
with:
175175
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
176176

@@ -281,7 +281,7 @@ jobs:
281281

282282
steps:
283283
- name: Checkout repository
284-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
284+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
285285
with:
286286
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
287287

@@ -351,7 +351,7 @@ jobs:
351351

352352
steps:
353353
- name: Checkout repository
354-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
354+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
355355
with:
356356
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
357357

.github/workflows/upload-release-to-plugin-repo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696

9797
steps:
9898
- name: Checkout code
99-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
99+
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
100100
with:
101101
ref: ${{ matrix.branch }}
102102
token: ${{ secrets.GUTENBERG_TOKEN }}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Get hands on: check out the [block editor live demo](https://wordpress.org/guten
3737

3838
Extending and customizing is at the heart of the WordPress platform, this is no different for the Gutenberg project. The editor and future products can be extended by third-party developers using plugins.
3939

40-
Review the [Create a Block tutorial](/docs/getting-started/devenv/get-started-with-create-block.md) for the fastest way to get started extending the block editor. See the [Developer Documentation](https://developer.wordpress.org/block-editor/#develop-for-the-block-editor) for extensive tutorials, documentation, and API references.
40+
Review the [Quick Start Guide](https://developer.wordpress.org/block-editor/getting-started/quick-start-guide/) for the fastest way to get started extending the block editor. See the [Block Editor Handbook](https://developer.wordpress.org/block-editor/) for extensive tutorials, documentation, and API references. Also, check the [WordPress Developer Blog](https://developer.wordpress.org/blog/) for great articles about block development, among other topics.
4141

4242
### Contribute to Gutenberg
4343

0 commit comments

Comments
 (0)