Repository navigation
Conversation
|
Size Change: 0 B Total Size: 2.12 MB ℹ️ View Unchanged
|
|
Flaky tests detected in 631ee5c. 🔍 Workflow run URL: https://github.com/desrosj/gutenberg/actions/runs/34801125412 Redirection after template creation in
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
f347076 to
b5277e3
Compare
b5277e3 to
a79806e
Compare
|
|
||
| - name: Use desired version of Node.js | ||
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | ||
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
| # passing a custom cache suffix ensures that the cache is flushed at least once per week. | ||
| - name: Install Composer dependencies | ||
| uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 | ||
| uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 |
| # passing a custom cache suffix ensures that the cache is flushed at least once per week. | ||
| - name: Install Composer dependencies | ||
| uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 | ||
| uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0 |
|
|
||
| - name: Cache PHPCS scan cache | ||
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | ||
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 |
a79806e to
05725ca
Compare
1c5241a to
31dcf22
Compare
31dcf22 to
dc55325
Compare
303fadf to
631ee5c
Compare
Bumps `actions/checkout` from `v5.0.0` to `v7.0.1`, the latest published release, across every workflow file that uses it.
Bumps `actions/setup-node` from `v5.0.0` to `v7.0.0`, the latest published release, across every workflow file that uses it, as well as the composite `.github/setup-node/action.yml` action that most of those workflows call into.
Bumps `actions/upload-artifact` from `v4.3.3` to `v7.0.1`, the latest published release, across every workflow file that uses it, as well as the composite `.github/setup-node/action.yml` action, which carried its own separate, older `v4.6.2` pin. Also pins the `actions/upload-artifact/merge` sub-action call in `end2end-test.yml` to the same release; it was previously unpinned, tracking the mutable `v4` tag directly.
Bumps `actions/cache` from `v4.3.0` to `v6.1.0`, the latest published release, across every workflow file that uses it, as well as the composite `.github/setup-node/action.yml` action, which carried its own separate, older `v4.2.4` pin.
Bumps `ramsey/composer-install` from `v3.1.1` to `4.0.0`, the latest published release, across every workflow file that uses it.
Bumps `shivammathur/setup-php` from `v2.35.5` to `2.37.2`, the latest published release, across every workflow file that uses it.
Bumps `preactjs/compressed-size-action` from `v2.8.0` to `2.10.0`, the latest published release, across every workflow file that uses it.
Bumps `actions/download-artifact` from `v5.0.0` to `v8.0.1`, the latest published release, across every workflow file that uses it. This also pins the action to a full-length commit SHA in `end2end-test.yml` where a version reference was being used incorrectly.
The `mheap/github-action-required-labels` Action is currently referenced with `@v5`, which is not best practice. This changes the reference to pin the action to the full-length commit SHA for the most recent release, which is currently `v5.6.0`.
Bumps `actions/github-script` from `v8.0.0` to `v9.0.0`, the latest published release, pinned to its full-length commit SHA. This is the only reference to `actions/github-script` anywhere in the `.github/` tree, found in `props-bot.yml`; no other workflow or composite action uses it.
Ports WordPress#78593 (commit 4d02abd) to this branch's `unit-test.yml`. The `unit-js` and `unit-js-date` jobs each ran a separate `SimenB/github-actions-cpu-cores` step purely to compute a worker count for Jest's `--maxWorkers` flag. `nproc` provides the same value directly inside the `run:` step, so the extra action, its `id: cpu-cores` step, and the `MAXWORKERS` env var it fed are unnecessary. The disabled `mobile-unit-js` job (guarded by `if: false`, React Native unit tests) has the same pattern but is left untouched here, since it never executes and is out of scope for this change.
Bumps `actions/checkout` from `v5.0.0` to `v7.0.1` in `publish-npm-packages.yml`, matching the pin this layer already applied to every other workflow file (commit `395a8bcc150`). `publish-npm-packages.yml` did not exist on this branch when that commit was made — it had been removed by the `remove-rn-workflows` layer and was only restored today after a policy reversal decided the file should never have been removed. This follow-up brings the restored file back in line with the rest of this layer's final state, reusing the exact same SHA/version comment already used elsewhere in this layer rather than querying for a new one.
…yml`. Bumps `actions/setup-node` from `v5.0.0` to `v7.0.0` in `publish-npm-packages.yml`, matching the pin this layer already applied to every other workflow file and to the composite `.github/setup-node/action.yml` action (commit `f951b659e8e`). `publish-npm-packages.yml` did not exist on this branch when that commit was made — it had been removed by the `remove-rn-workflows` layer and was only restored today after a policy reversal decided the file should never have been removed. This follow-up brings the restored file back in line with the rest of this layer's final state, reusing the exact same SHA/version comment already used elsewhere in this layer rather than querying for a new one.
Bumps `actions/checkout` from `v5.0.0` to `v7.0.1` in `storybook-check.yml`, matching the pin this layer already applied to every other workflow file (commit `ad1ae368d6b`). `storybook-check.yml` did not exist on this branch when that commit was made — it had been removed by the `remove-rn-workflows` layer and was only restored today after a policy reversal decided the file should be kept. This follow-up brings the restored file back in line with the rest of this layer's final state, reusing the exact same SHA/version comment already used elsewhere in this layer rather than querying for a new one.
631ee5c to
615cc64
Compare
|
Migrated to real upstream: WordPress#82867. Closing this fork PR. |
What?
This updates ten third-party GitHub Actions used across this branch's workflows to their latest published releases, and pins each to a full-length commit SHA:
actions/checkoutv5.0.0v7.0.1actions/setup-nodev5.0.0v7.0.0actions/upload-artifactv4.3.3/v4.6.2v7.0.1actions/cachev4.2.4/v4.3.0v6.1.0ramsey/composer-installv3.1.14.0.0shivammathur/setup-phpv2.35.52.37.2preactjs/compressed-size-actionv2.8.02.10.0actions/download-artifactv5.0.0v8.0.1mheap/github-action-required-labelsv5(unpinned)v5.6.0actions/github-scriptv8.0.0v9.0.0This also includes the composite
.github/setup-node/action.ymlaction that most of these workflows call into — it was pinned to its own separate, even older versions ofactions/setup-node,actions/cache, andactions/upload-artifact, which are updated as part of the same bumps above.actions/github-scriptwas found inprops-bot.yml, its only reference anywhere in the.github/tree.Separately, this also removes
unit-test.yml's use ofSimenB/github-actions-cpu-cores, porting WordPress#78593 (commit4d02abd34c61e8bcf30399c219fdccedaf0e8a84, "Remove dependency used for counting available CPUs") to this branch. Theunit-jsandunit-js-datejobs each ran a dedicated action step just to compute a worker count for Jest's--maxWorkersflag;nproc, run directly inside the existingrun:step, provides the same value without the extra action, itsid: cpu-coresstep, or theMAXWORKERSenv var it fed.Why?
The stale
actions/cachepin inside.github/setup-node/action.ymlwas causing a Node.js runtime deprecation warning on every run: "Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24." The other actions weren't individually flagged with that same warning, but were also behind their latest available releases, so this brings all ten current at once rather than fixing them one at a time as each is eventually flagged.mheap/github-action-required-labelswas additionally left referencing an unpinned tag (@v5) rather than a commit SHA, which this also corrects.The
SimenB/github-actions-cpu-coresremoval isn't strictly an action-version bump, but it eliminates a third-party action dependency for something the runner environment already exposes directly, matching the same simplification trunk already made.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.