Skip to content

Repair wp/7.1 branch Actions: pin runner images instead of *-latest - #230

Closed
desrosj wants to merge 1 commit into
fix-actions-7.1/pin-wp-env-core-versionfrom
fix-actions-7.1/pin-runner-images
Closed

desrosj wants to merge 1 commit into
fix-actions-7.1/pin-wp-env-core-versionfrom
fix-actions-7.1/pin-runner-images

Conversation

@desrosj

@desrosj desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner

What?

Replaces the floating ubuntu-latest, windows-latest, and macos-latest GitHub Actions runner labels in this branch's workflows with pinned versions: ubuntu-24.04, windows-2025, and macos-15 respectively.

Why?

GitHub has been emitting deprecation warnings for the floating -latest runner image aliases. Upstream trunk made this same change in PR #71201 (commit 82768d0e018b44007e3e3a25636c13375b33e7e7), "Avoid using *-latest for runner images", merged 2025-08-28. This PR ports the same substitution to wp/7.1.

Use of AI Tools

This PR was authored with the help of Claude Code.

@desrosj
desrosj added this pull request to stack #177 September 11, 2026 03:22
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 03:25
@desrosj
desrosj marked this pull request as draft September 11, 2026 03:29
@desrosj
desrosj marked this pull request as ready for review September 11, 2026 03:48
@github-actions

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: 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.

@desrosj
desrosj force-pushed the fix-actions-7.1/pin-runner-images branch from a5e5683 to d6dd66d Compare September 11, 2026 16:59
@desrosj
desrosj force-pushed the fix-actions-7.1/pin-runner-images branch 2 times, most recently from 5ba7926 to 49e7483 Compare September 11, 2026 18:26
@desrosj
desrosj removed this pull request from stack #177 September 11, 2026 18:31
@desrosj
desrosj changed the base branch from fix-actions-7.1/disable-flaky-test-issue-reporting to fix-actions-7.1/pin-wp-env-core-version 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%)

49e7483 Run

Replaces the floating `ubuntu-latest`, `windows-latest`, and `macos-latest`
runner labels with pinned versions, matching upstream trunk's own migration:
`ubuntu-latest` -> `ubuntu-24.04`, `windows-latest` -> `windows-2025`,
`macos-latest` -> `macos-15`.

Ports upstream trunk PR WordPress#71201
(commit WordPress@82768d0),
"Avoid using `*-latest` for runner images", merged 2025-08-28.
@desrosj
desrosj force-pushed the fix-actions-7.1/pin-runner-images branch from 49e7483 to 9afada2 Compare September 11, 2026 20:27
@desrosj

desrosj commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

Migrated to real upstream: WordPress#82792. 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.

1 participant