Run dependency updates daily and reuse the open update PR#605
Draft
anth-volk wants to merge 1 commit into
Draft
Conversation
The update workflow ran every 15 minutes and force-pushed the update-dependencies branch, rewriting the open PR's history each run. Now it runs daily, relocks every package via make update (uv lock --upgrade), and while an update PR is open it merges main into the branch and appends a new commit instead of force-pushing or opening a new PR. Force push remains only for branches no open PR owns, or as a fallback when the merge with main cannot be resolved. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Fixes #604
Changes to the Update dependencies workflow
make updaterunsuv lock --upgradein every lib and project), now labeled explicitly as the relock step.update-dependenciesPR is open, the workflow checks out its branch, mergesorigin/maininto it (lock conflicts resolve in main's favor since the relock regenerates them), and pushes the day's relock as a new commit — no force push, no new PR. A new PR is only created when none is open. Force push remains only for branches no open PR owns, or as a fallback when the merge with main cannot be resolved (which refreshes the same open PR rather than opening another).Tests
Workflow YAML validated with a parser; behavior is exercised by the scheduled runs (also manually triggerable via
workflow_dispatch).🤖 Generated with Claude Code