Skip to content

ci: monitor template dependencies with Dependabot - #20

Merged
mjun0812 merged 1 commit into
mainfrom
ci/dependabot-template-dependencies
Sep 3, 2026
Merged

ci: monitor template dependencies with Dependabot#20
mjun0812 merged 1 commit into
mainfrom
ci/dependabot-template-dependencies

Conversation

@mjun0812

Copy link
Copy Markdown
Owner

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 uv and pre-commit update entries targeting /template in the repository configuration, while preserving the existing GitHub Actions entry. Add the corresponding pre-commit entry to the generated project's configuration, alongside its existing GitHub Actions and uv entries.

Changes

  • Monitor template/uv.lock with the uv ecosystem.
  • Monitor template/.pre-commit-config.yaml with the pre-commit ecosystem.
  • Include pre-commit hook updates in generated projects.

Impact

Dependabot will open scheduled update pull requests for the template's lockfile and pre-commit hooks. Existing GitHub Actions and uv monitoring 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.yml contains the pre-commit entry.
  • yq -e '.updates[] | select(.package-ecosystem == "pre-commit" and .directory == "/")' /private/tmp/dependabot-generated-direct/.github/dependabot.yml — passed.

- Add pre-commit and uv updates for manifests under /template
- Include pre-commit updates in generated project configuration
@mjun0812mjun0812 self-assigned this Sep 2, 2026

@mjun0812mjun0812 left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@mjun0812
mjun0812 merged commit db3a876 into mainSep 3, 2026
6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@mjun0812