Skip to content

Avoid using -latest runner labels in CI - #4275

Open
mbg wants to merge 4 commits into
mainfrom
mbg/avoid-latest
Open

mbg wants to merge 4 commits into
mainfrom
mbg/avoid-latest

Conversation

@mbg

@mbg mbg commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Updates our workflows to avoid using the -latest runner labels.

@github-actions github-actions Bot added the size/XS Should be very easy to review label Oct 28, 2026
@github-actions github-actions Bot added size/S Should be easy to review and removed size/XS Should be very easy to review labels Oct 29, 2026
@mbg
mbg marked this pull request as ready for review October 29, 2026 16:37
@mbg
mbg requested a review from a team as a code owner October 29, 2026 16:37
Copilot AI max review requested due to automatic review settings October 29, 2026 16:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Several workflow configurations still use macos-latest-xlarge instead of macos-26-xlarge, leaving them exposed to automatic macOS upgrades.

1 open issue
54 files not reviewed

And 34 more.

What changed in this PR

Pins CI runner images to explicit operating-system versions, reducing unexpected environment changes in CodeQL Action checks and release automation.

Changes:

  • Uses Ubuntu 26.04, macOS 26, and Windows 2025 for default runners.
  • Centralizes runner defaults for generated PR checks and validation jobs.
  • Updates OS-specific conditions while retaining the Ubuntu 24.04 fallback for CodeQL 2.20.7.
File Description
pr-checks/​sync.ts Centralizes pinned runner defaults and preserves the older-CLI fallback.
pr-checks/​checks/​per-language-bundle-validation.yml Pins Linux per-language bundle checks.
.github/​workflows/​update-release-branch.yml Pins release-update and backport jobs.
.github/​workflows/​update-bundle.yml Pins bundle-update automation.
.github/​workflows/​test-codeql-bundle-all.yml Pins the bundle test runner.
.github/​workflows/​rollback-release.yml Pins release rollback automation.
.github/​workflows/​rebuild.yml Pins the Action rebuild runner.
.github/​workflows/​query-filters.yml Pins query-filter tests.
.github/​workflows/​python312-windows.yml Pins Python 3.12 tests to Windows 2025.
.github/​workflows/​prepare-release.yml Pins release preparation.
.github/​workflows/​pr-checks.yml Pins the cross-platform matrix and updates OS-specific conditions.
.github/​workflows/​post-release-mergeback.yml Pins release merge-back automation.
.github/​workflows/​debug-artifacts-safe.yml Pins artifact checks while preserving the older-CLI fallback.
.github/​workflows/​debug-artifacts-failure-safe.yml Pins failure-path artifact checks and preserves the fallback.
.github/​workflows/​codescanning-config-cli.yml Pins the configuration test matrix.
.github/​workflows/​codeql.yml Pins version-selection and analysis runners.

Review effort: Max

version: linked
- language: rust
os: ubuntu-latest
os: ubuntu-26.04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Should be easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants