Repository navigation
build: move workflows off retired ubuntu-20.04 runner - #117
Merged
Merged
Conversation
GitHub retired the ubuntu-20.04 runner image, so CI and PyPI publish jobs sit in the queue and never start. Move them to ubuntu-latest and update checkout and setup-python to v7. Also build the package on PRs that touch packaging, with the PyPI upload limited to tag pushes, so publish changes can be tested before a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gregpeinke
force-pushed
the
gpeinke/fix-gha-runners
branch
from
October 8, 2026 13:16
870fd2f to
84b117f
Compare
kmaepa
approved these changes
Oct 8, 2026
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.
GitHub retired the
ubuntu-20.04runner image. Jobs that ask for it wait in the queue and never start, so:mainpushes are still queued. The tests added in chore: updates for openflow migration #115 have never run in CI.v0.6.0tag (run 37778382401) is stuck in the queue.Changes
ci.ymlandpypi-publish.yml:runs-on: ubuntu-latest,actions/checkout@v7,actions/setup-python@v7.pypi-publish.yml: adds apull_requesttrigger for PRs that touch the workflow or packaging files (setup.py,setup.cfg,MANIFEST.in,requirements/pip.txt). On PRs the job checks out, installs and builds the sdist/wheel. The PyPI upload step hasif: startsWith(github.ref, 'refs/tags/'), so it only runs for tag pushes.Testing
This PR's own checks test the change:
ubuntu-latestagainstmain's code plus this diff, which includes chore: updates for openflow migration #115.The PyPI upload step itself can't be run without publishing. Apart from the
if:condition it's unchanged, and it's a container action, so it doesn't depend on the runner version.Releasing 0.6.0 after merge
Tag-triggered runs use the workflow file at the tagged commit, so re-running the stuck v0.6.0 run would still request
ubuntu-20.04. Since nothing was published under 0.6.0, move the tag to this PR's merge commit:Deleting the tag turns the v0.6.0 GitHub Release into a draft, so it will need to be published again.
🤖 Generated with Claude Code