Skip to content

Commit 4ac97f1

Browse files
committed
Merge branch 'trunk' into try/expand-performance-tests
2 parents b58fd12 + d489fb3 commit 4ac97f1

File tree

269 files changed

+4565
-3287
lines changed

Some content is hidden

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

269 files changed

+4565
-3287
lines changed

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

Lines changed: 5 additions & 5 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 35 additions & 12 deletions
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/download-artifact@v4.1.7
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

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

Lines changed: 1 addition & 1 deletion
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' }}

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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
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' }}

0 commit comments

Comments
 (0)