ci: add weekly lockfile update workflow #1874
Merged
+40
−0
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
Adds a scheduled GitHub Action that updates
uv.lockwith the latest dependency versions weekly.Motivation and Context
After removing the
highestresolution strategy from the test matrix (which was causing CI failures due to missing platform wheels), we still want to periodically test against the latest versions of our dependencies.This workflow:
uv lock --upgradeto update all dependencies to their latest compatible versionsuv.lock- does not modifypyproject.tomlHow It Works
Uses peter-evans/create-pull-request to automatically create a PR with the updated lockfile. The PR body includes the output from
uv lock --upgradeshowing what changed.Repository Setup Required
For this workflow to create PRs, you need to enable "Allow GitHub Actions to create and approve pull requests" in:
Settings → Actions → General → Workflow permissions
Breaking Changes
None.
Checklist