-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Avoid using *-latest
for runner images
#71201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
While using the `ubuntu-latest`, `macos-latest`, and `windows-latest` runner image tags is convenient, it has proven to be problematic in a number of instances as the runners are slowly updated (see Core-62808 and Core-62843). Additionally, GitHub uses warnings on workflow runs using the `-latest` tags when there are upcoming changes to the images that the alias points to. There is no way to acknowledge and dismiss these notices, and they can be quite noisy and alarming. This switches all workflows to using specific version tags representing the latest non-preview versions, which currently are as follows: - `ubuntu-24.04` - `windows-2025` - `macos-15`
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. |
Size Change: 0 B Total Size: 1.92 MB ℹ️ View Unchanged
|
Flaky tests detected in a3effc6. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/16970285834
|
This makes helps avoid needing to change the required check every time the runner is updated.
I've also updated the job names to only include the OS type without a version. Since we don't need to test against multiple versions of an OS, this eliminates the need to change the configured required checks for the repository with each update. |
What?
This switches all workflows to using specific version tags representing the latest non-preview versions, which currently are as follows:
ubuntu-24.04
windows-2025
macos-15
Why?
While using the
ubuntu-latest
,macos-latest
, andwindows-latest
runner image tags is convenient, it has proven to be problematic in a number of instances as the runners are slowly updated (see Core-62808 and Core-62843).Additionally, GitHub uses warnings on workflow runs using the
-latest
tags when there are upcoming changes to the images that the alias points to. There is no way to acknowledge and dismiss these notices, and they can be quite noisy and alarming.