Skip to content

Add Dependabot config - #40

Merged
reformedot merged 2 commits into
mainfrom
deps/dependabot-config
Nov 30, 2026
Merged

reformedot merged 2 commits into
mainfrom
deps/dependabot-config

Conversation

@reformedot

@reformedot reformedot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds .github/dependabot.yml. The repo had no Dependabot config. No dependency version changes, and no workflow changes.

Each entry: weekly schedule, minor and patch updates in one group, security updates in one group, major updates ignored, cooldown of 5 days.

Ecosystems and directories:

  • pip: /
  • github-actions: /

Proof

The file passes the Dependabot 2.0 JSON schema, and each directory holds a manifest of its ecosystem.

🤖 Generated with Claude Code


Summary by cubic

Adds a Dependabot config so dependency updates are now tracked for pip, github-actions, and pre-commit. No dependency versions or workflows change.

  • Weekly schedule with a 5-day cooldown.
  • Minor, patch, and security updates are grouped; major updates are ignored.

Written for commit 034365e. Summary will update on new commits.

View guided diff Turn on auto-fix

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@claude

claude Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Claude finished @reformedot's task —— View job


PR Review: Add Dependabot config

Tasks:

  • Gather context
  • Read and analyze the dependabot.yml file
  • Post review feedback

Overall Assessment

This is a clean, well-structured Dependabot config. The approach is sensible and the file is valid. A few notes:


Observations

Strengths:

  • Both pip and github-actions ecosystems are covered, which is correct for this repo (Python project with GitHub Actions workflows)
  • Grouping minor+patch updates reduces PR noise — good practice
  • Ignoring major version bumps avoids unreviewed breaking changes
  • Security updates are grouped separately, which keeps them visible and actionable
  • Weekly schedule with a 5-day cooldown is a reasonable default

Minor Issues / Suggestions:

  1. cooldown is a Dependabot 2.0 (beta) feature — The cooldown key is only available in the Dependabot 2.0 config (currently in beta/preview). If the org/repo hasn't opted into Dependabot 2.0, this key will silently be ignored or cause parsing errors. Worth verifying that the repo has Dependabot 2.0 enabled before merging.

  2. ignore with version-update:semver-major and groups may interact unexpectedly — The ignore block at lines 10–11 (and 27–28) ignores major updates for all packages. However, security-updates for a major version might still be desired. If a dependency has a critical CVE only patched in a major version, the ignore rule would suppress that PR. Consider scoping the ignore to applies-to: version-updates only, e.g.:

    ignore:
      - dependency-name: "*"
        update-types: ["version-update:semver-major"]

    The ignore key currently applies to both version-updates and security-updates, which may be unintentional.

  3. No open-pull-requests-limit set — With grouping, this is less of a concern, but if Dependabot generates many ungrouped PRs initially, it can flood the repo. The default limit is 5. This is optional but worth considering.

  4. uv.lock / lockfile awareness — This project uses uv (noted in pyproject.toml). Dependabot's pip ecosystem support for uv.lock is limited — Dependabot may not update the lockfile automatically, only pyproject.toml. This is a known limitation and not something the config can fix, but it's worth being aware of: manual uv lock runs may be needed after Dependabot PRs.

  5. No day specified in schedule — Weekly updates will default to Monday. This is fine, but explicit is clearer:

    schedule:
      interval: weekly
      day: monday

Security Considerations

No security concerns with the config itself. The ignore rule for major versions could suppress security-critical major-version updates (see point 2 above), which is worth reviewing.


Summary

The config is correct and functional. The main actionable item to verify is Dependabot 2.0 availability (cooldown key), and optionally reconsider whether the ignore rule should exclude security updates. Everything else is cosmetic/preference.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

View guided diff | Turn on auto-fix | Re-trigger cubic

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor Author

Replies to the review above. No change for the 3 points: cooldown is generally available and the .github/dependabot.yml check accepts it; an ignore rule with version-update:semver-major applies to version updates only, so security updates still arrive; the groups keep the count of pull requests low, so no limit is needed. The new commit adds the pre-commit ecosystem for .pre-commit-config.yaml.

@claude

claude Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Claude finished @reformedot's task —— View job


Claude finished reviewing the updated PR


PR Review: Add Dependabot config (updated)

Tasks:

  • Gather context
  • Read and analyze the updated dependabot.yml file
  • Post review feedback

Overall Assessment

The updated config looks good. The addition of the pre-commit ecosystem entry is correct — .pre-commit-config.yaml exists at / and uses pinned rev values that Dependabot can track.


Follow-up on Previous Review Points

The author's responses to the previous review are accurate:

  • cooldown is now GA in Dependabot 2.0 ✓
  • ignore with update-types: ["version-update:semver-major"] applies only to version updates, not security updates — security PRs for major versions will still be created ✓
  • Groups keep PR count low enough that an explicit open-pull-requests-limit isn't needed ✓

Observations on the Updated File

New pre-commit entry (lines 20–36):

  • Correct ecosystem and directory. Dependabot will track rev: pins in .pre-commit-config.yaml ✓
  • Config is consistent with the other two entries (same schedule, cooldown, ignore rules, groups) ✓

Minor: Repeated structure could be anchored with YAML aliases, but Dependabot's config parser does not support YAML anchors/aliases (&/*), so this is intentionally repeated — no issue here.

One note on pre-commit ecosystem: Dependabot's pre-commit ecosystem support only tracks hooks from repos that use standard versioned releases on GitHub. Some hooks in .pre-commit-config.yaml (e.g. asottile/yesqa, asottile/pyupgrade, asottile/add-trailing-comma) use GitHub releases and will be tracked fine. All hooks present are from repos that follow standard tagging, so coverage should be complete.


Summary

No blocking issues. The config is well-structured, the three ecosystems (pip, pre-commit, github-actions) are all correctly configured, and the previous review concerns have been satisfactorily addressed. This is ready to merge.

View job

@reformedot
reformedot merged commit dc2b3b5 into main Nov 30, 2026
22 checks passed
@reformedot
reformedot deleted the deps/dependabot-config branch November 30, 2026 06:39
Sign up for free to 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