ci: security-only Dependabot for pip + weekly poetry.lock update job - #467
Merged
Conversation
Split dependency updates into two lanes: Dependabot now only opens PRs for security fixes on pip, while a new weekly cron workflow batches routine version bumps into a single poetry.lock update PR via calysto/maintainer_tools' poetry-lock-update action. Also splits dependency-groups arrays that mixed plain strings with include-group tables, which crashes Dependabot's Poetry resolver.
blink1073
enabled auto-merge (squash)
August 3, 2026 02:47
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #467 +/- ##
=======================================
Coverage 93.54% 93.54%
=======================================
Files 51 51
Lines 2974 2974
Branches 416 416
=======================================
Hits 2782 2782
Misses 131 131
Partials 61 61 🚀 New features to boost your workflow:
|
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.
References
None
Description
Splits dependency updates into two lanes: Dependabot now only opens PRs for pip security fixes (routine version bumps are disabled via
open-pull-requests-limit: 0), while a new weekly cron workflow batches routine version bumps into a singlepoetry.lockupdate PR usingcalysto/maintainer_tools'spoetry-lock-updatecomposite action (with a 7-day minimum release-age cooldown).Changes
.github/dependabot.yml: addopen-pull-requests-limit: 0to thepipentry so only security-update PRs are opened automatically..github/workflows/lock-update.yml: new weekly (Monday 6am) cron workflow that runspoetry update --lockviacalysto/maintainer_tools/actions/poetry-lock-update@v1and opens a batched,maintenance-labeled PR when the lock file changes. Modeled on the existingpre-commit-autoupdate.ymlpattern (pinned checkout,persist-credentials: false,environment: release, fork-safety guard).pyproject.toml/poetry.lock: split[dependency-groups]arrays (dev,test-all,coverage,typing) that mixed plain strings withinclude-grouptables into homogeneous arrays. Mixed arrays crash Dependabot's Poetry (toml-rb) resolver. No dependency resolution changes —poetry.lockdiff is group-membership metadata only.Backwards-incompatible changes
None
Testing
just typing— passesjust pre-commit— all hooks pass, includingpoetry-check/poetry-lock/actionlintjust test— 487 passed, 68 skippedpoetry.lockresolves identically (no version changes) after thedependency-groupssplitactionlint(pre-commit) and checked againstzizmorfor parity with the existingpre-commit-autoupdate.ymlworkflowAI usage