Skip to content

Repair wp/7.1 branch Actions: Update GitHub Actions to their latest versions - #147

Closed
desrosj wants to merge 9 commits into
fix-actions-7.1/reference-trunk-workflow-lintfrom
fix-actions-7.1/update-actions-to-latest
Closed

desrosj wants to merge 9 commits into
fix-actions-7.1/reference-trunk-workflow-lintfrom
fix-actions-7.1/update-actions-to-latest

Conversation

@desrosj

@desrosj desrosj commented Sep 1, 2026 •

Copy link
Copy Markdown
Owner

What?

Updates 8 third-party GitHub Actions used across this branch's workflows (including the composite .github/setup-node/action.yml action) to their latest published releases, pinned to full-length commit SHAs.

Action Updated to
actions/checkout v7.0.1
actions/setup-node (composite action) v7.0.0
docker/login-action v4.6.0
oras-project/setup-oras v2.0.1
actions/labeler v7.0.0
actions/stale v11.0.0
astral-sh/setup-uv v10.0.1
github/codeql-action/upload-sarif v4.37.8

Why?

This ensures that no deprecations or platform-level changes prevent workflows from running.

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.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 7.75 MB

compressed-size-action

@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from 1dca3d2 to 86380e5 Compare September 1, 2026 13:45
@desrosj
desrosj changed the base branch from wp/7.1 to fix-actions-7.1/remove-rn-workflows September 1, 2026 13:45
@desrosj
desrosj changed the base branch from fix-actions-7.1/remove-rn-workflows to fix-actions-7.1/reference-trunk-workflow-lint September 1, 2026 14:00
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from 86380e5 to 4c62b11 Compare September 1, 2026 14:00
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from 4c62b11 to 32e23d5 Compare September 10, 2026 18:17
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from 32e23d5 to f79261c Compare September 10, 2026 20:10
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from f79261c to dc996fd Compare September 10, 2026 23:59
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 00:38
@desrosj
desrosj marked this pull request as draft September 11, 2026 00:40
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 00:41
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from 6df314e to e4938e2 Compare September 11, 2026 00:55
@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: oandregal <oandregal@git.wordpress.org>
Co-authored-by: manzoorwanijk <manzoorwanijk@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: hbhalodia <hbhalodia@git.wordpress.org>
Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: wprashed <wprashed@git.wordpress.org>
Co-authored-by: shail-mehta <shailu25@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: shameemreza <shameemreza@git.wordpress.org>
Co-authored-by: antwonw <antwonw@git.wordpress.org>
Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org>
Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org>
Co-authored-by: Jiwoon-Kim <kimjiwoon@git.wordpress.org>
Co-authored-by: draganescu <andraganescu@git.wordpress.org>
Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


- name: Use desired version of Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0

- name: Use desired version of Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.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@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
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@65e4f84970763564f46a70b8a54b90d033b3bdda # v4.0.0
uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
@desrosj
desrosj force-pushed the fix-actions-7.1/update-actions-to-latest branch from ad32ce5 to f0958c2 Compare September 11, 2026 16:58
`actions/checkout` was pinned to v7.0.0 across every workflow file
that uses it. v7.0.1 is the latest release.

Rebased onto real wp/7.1's own restructuring of end2end-test.yml
(the report-to-issues job was replaced upstream by a pr-meta job as
part of unifying PR automation comments, WordPress#82249) --
bumps all 4 checkout calls actually present now, including the new
pr-meta job's, which still carried the old pin.
`.github/setup-node/action.yml` (the composite action most workflows
call into for Node.js setup) still pinned `actions/setup-node` to
v6.4.0, older than the v7.0.0 pin some workflow files call the action
with directly. v7.0.0 is the latest release.
`docker/login-action` was pinned to v4.4.0 in `build-plugin-zip.yml`.
v4.6.0 is the latest release.
`oras-project/setup-oras` was pinned to v2.0.0 in
`build-plugin-zip.yml`. v2.0.1 is the latest release.
`actions/labeler` was pinned to v6.1.0 in
`pr-labeling-automation.yml`. v7.0.0 is the latest release.
`publish-npm-packages.yml` was restored to this branch after this
layer's original `actions/checkout` bump had already been applied to
every other workflow file, so its three `actions/checkout` calls were
left on the old v7.0.0 pin. This follow-up brings it in line with the
rest of the layer's final state, pinning it to v7.0.1 like every other
workflow file in the tree.
Brings the remaining direct `actions/setup-node` calls (in `bundle-size.yml`, `build-plugin-zip.yml`, `static-checks.yml`, and `publish-npm-packages.yml`) in line with what the composite `.github/setup-node/action.yml` and every other workflow file already use.
Corrects five pinned-SHA version comments that no longer matched what
the SHA actually resolves to:

- `preactjs/compressed-size-action`: `v2.10.0` -> `2.10.0` (the real
  tag has no leading "v").
- `shivammathur/setup-php` (x2): `v2.37.2` -> `2.37.2`. The SHA is also
  the current tip of the `master` branch, which zizmor's own fix
  offered as an alternative, but a branch name is a moving target and
  would go stale the moment `master` advances further -- the version
  tag stays accurate indefinitely and matches this repo's existing
  convention for every other pin.
- `ramsey/composer-install` (x2): `v4.0.0` -> `4.0.0` (same "v" prefix
  issue as `compressed-size-action`).

No pinned SHA was changed, only the trailing comments.
This file didn't exist yet when this layer originally bumped every
other workflow's `actions/checkout` pin, since `storybook-check.yml`
was removed by the `remove-rn-workflows` layer and only restored
afterward. Now that it's back, bring its pin in line with the same
`v7.0.1` target every other file in this stack already uses.
actions: read
contents: read
uses: ./.github/workflows/reusable-workflow-lint.yml
uses: WordPress/gutenberg/.github/workflows/reusable-workflow-lint.yml@trunk
@desrosj
desrosj removed this pull request from stack #177 September 11, 2026 18:31
@desrosj
desrosj added this pull request to stack #278 September 11, 2026 18:33
@github-actions

Copy link
Copy Markdown

🤖 PR meta 🤖

📦 Bundle size

Size Change: +1.3 kB (+0.02%)

Total Size: 7.75 MB

📦 View Changed
Filename Size Change
build/modules/vips/worker.min.js 3.69 MB +102 B (0%)
build/scripts/block-editor/index.min.js 428 kB +80 B (+0.02%)
build/scripts/block-library/index.min.js 355 kB +409 B (+0.12%)
build/scripts/edit-post/index.min.js 52.9 kB +28 B (+0.05%)
build/scripts/edit-site/index.min.js 305 kB +3 B (0%)
build/scripts/editor/index.min.js 502 kB +278 B (+0.06%)
build/scripts/media-utils/index.min.js 121 kB +4 B (0%)
build/scripts/upload-media/index.min.js 16.5 kB +179 B (+1.1%)
build/styles/block-library/accordion-panel/style-rtl.css 118 B +41 B (+53.25%) 🆘
build/styles/block-library/accordion-panel/style-rtl.min.css 110 B +40 B (+57.14%) 🆘
build/styles/block-library/accordion-panel/style.css 118 B +41 B (+53.25%) 🆘
build/styles/block-library/accordion-panel/style.min.css 110 B +40 B (+57.14%) 🆘
build/styles/block-library/style-rtl.css 22.4 kB +14 B (+0.06%)
build/styles/block-library/style-rtl.min.css 18.9 kB +11 B (+0.06%)
build/styles/block-library/style.css 22.6 kB +15 B (+0.07%)
build/styles/block-library/style.min.css 18.9 kB +11 B (+0.06%)

4108635 Run

@desrosj

desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

Migrated to real upstream: WordPress#82789. Closing this fork PR.

@desrosj desrosj closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants