fix: update GitHub Actions runners from ubuntu-20.04 to ubuntu-latest#49
Merged
fix: update GitHub Actions runners from ubuntu-20.04 to ubuntu-latest#49
Conversation
Prevent worktree contents from being tracked in the repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
GitHub removed ubuntu-20.04 runners in April 2024, causing workflows to be stuck in "queued" state indefinitely. This updates all test workflow templates and regenerates the corresponding workflow files to use ubuntu-latest instead. Fixes jobs stuck pending on PR #48 and similar issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates GitHub Actions runner specifications from the deprecated ubuntu-20.04 to ubuntu-latest across all workflow files to fix jobs that were stuck in the queue due to GitHub's removal of ubuntu-20.04 runners in April 2024.
Key Changes
- Updated all workflow template files in
tests/workflows/to specifyubuntu-latest - Regenerated all corresponding workflow files in
.github/workflows/with the updated runner specification - Updated template workflow in
tests/includes/workflows/basic/workflow.yml
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/workflows/workflows-basic.yml | Updated template to use ubuntu-latest for docker-image-build job |
| tests/workflows/actions-remote.yml | Updated template to use ubuntu-latest for all 11 jobs |
| tests/workflows/actions-local.yml | Updated template to use ubuntu-latest for all 10 jobs |
| tests/workflows/actions-ifexpands.yml | Updated template to use ubuntu-latest for docker-image-build and test-if-expand jobs |
| tests/includes/workflows/basic/workflow.yml | Updated included workflow template to use ubuntu-latest for all 4 jobs |
| .gitignore | Added .worktrees/ directory (unrelated to runner updates) |
| .github/workflows/test.workflows-basic.yml | Regenerated workflow with ubuntu-latest for all 12 jobs |
| .github/workflows/test.actions-remote.yml | Regenerated workflow with ubuntu-latest for all 11 jobs |
| .github/workflows/test.actions-local.yml | Regenerated workflow with ubuntu-latest for all 10 jobs |
| .github/workflows/test.actions-ifexpands.yml | Regenerated workflow with ubuntu-latest for 2 jobs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ubuntu-latestinstead of deprecatedubuntu-20.04.github/workflows/from the updated templatesBackground
GitHub deprecated ubuntu-20.04 runners in April 2024 and has since removed them. Jobs requesting
ubuntu-20.04now sit in the queue indefinitely because that runner image no longer exists.This was causing the
docker-image-buildjobs on PR #48 and other PRs to remain stuck in "pending" status.Test plan
🤖 Generated with Claude Code