ci: monitor template dependencies with Dependabot - #20
Merged
Conversation
- Add pre-commit and uv updates for manifests under /template - Include pre-commit updates in generated project configuration
mjun0812
commented
Sep 2, 2026
mjun0812
left a comment
OwnerAuthor
There was a problem hiding this comment.
Codex PR Review
Summary
This pull request adds Dependabot coverage for the template's uv lockfile and pre-commit hooks, and adds pre-commit monitoring to generated projects. No blocking findings were confirmed. The Contract axis was skipped because no spec source was available.
Verdict
APPROVE
Findings
N/A
Reviewed by Codex at 1e42e27
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Overview and Background
This PR configures Dependabot to monitor the template's Python lockfile and pre-commit hooks. The repository-level configuration previously monitored only GitHub Actions, so dependency updates inside
template/were not discovered.Related Issues
None.
Implementation Approach
Add dedicated
uvandpre-commitupdate entries targeting/templatein the repository configuration, while preserving the existing GitHub Actions entry. Add the correspondingpre-commitentry to the generated project's configuration, alongside its existing GitHub Actions anduventries.Changes
template/uv.lockwith theuvecosystem.template/.pre-commit-config.yamlwith thepre-commitecosystem.Impact
Dependabot will open scheduled update pull requests for the template's lockfile and pre-commit hooks. Existing GitHub Actions and
uvmonitoring is preserved, and no dependency versions are changed by this PR.Validation Results
yq -e '.version == 2 and (.updates | length == 3)' .github/dependabot.yml— passed.yq -e '.version == 2 and (.updates | length == 3)' template/.github/dependabot.yml— passed.uvx --from copier copier copy --defaults ... template /private/tmp/dependabot-generated-direct— passed; generated.github/dependabot.ymlcontains thepre-commitentry.yq -e '.updates[] | select(.package-ecosystem == "pre-commit" and .directory == "/")' /private/tmp/dependabot-generated-direct/.github/dependabot.yml— passed.