Skip to content

ci(dependabot): configure dependabot for uv security updates - #37

Merged
thxCode merged 1 commit into
mainfrom
chore/dependabot-config
Oct 27, 2026
Merged

thxCode merged 1 commit into
mainfrom
chore/dependabot-config

Conversation

@thxCode

@thxCode thxCode commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Add .github/dependabot.yml for the uv package ecosystem so Dependabot security updates:

  • Format commit messages with chore(deps): ... to satisfy Commitizen checks.
  • Group security updates into a single pull request rather than opening one PR per advisory.
  • Set open-pull-requests-limit: 0 so Dependabot only opens PRs for security vulnerabilities rather than routine weekly version bumps.

- add .github/dependabot.yml for the uv ecosystem with conventional commit prefixes
- group security updates into a single PR and disable routine version-bump PRs

Signed-off-by: thxCode <thxcode0824@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 08:05

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces a Dependabot configuration file (.github/dependabot.yml) to automate dependency updates. The review feedback correctly identifies that uv is not a supported package ecosystem for GitHub Dependabot and recommends using pip instead to manage Python dependencies.

Comment thread .github/dependabot.yml
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "uv"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

GitHub Dependabot does not support uv as a valid package-ecosystem. To configure Dependabot for Python dependencies (including those managed by uv via pyproject.toml), you should use pip as the package ecosystem.

  - package-ecosystem: "pip"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not fixed (false positive): GitHub Dependabot natively supports package-ecosystem: "uv" for pyproject.toml and uv.lock, and the dependabot app check run (.github/dependabot.yml — Dependabot config file validation) passed on this PR (All changes look good). Switching to "pip" would prevent Dependabot from updating uv.lock.

@thxCode

thxCode commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Review Triage Summary

  • .github/dependabot.yml:3 (gemini-code-assist, comment 4386292862 / review 5663846543) — Not fixed (false positive): GitHub Dependabot natively supports package-ecosystem: "uv" for pyproject.toml and uv.lock, as confirmed by the passing .github/dependabot.yml check run (Dependabot config file validation: All changes look good). Using "pip" instead would not update uv.lock.

@thxCode
thxCode merged commit 1bbd9b1 into main Oct 27, 2026
10 checks passed
@thxCode
thxCode deleted the chore/dependabot-config branch October 27, 2026 08:10

Copilot AI 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.

🟢 Approval recommended

The configuration matches the stated security-update requirements, with no unresolved issues.

No open issues 🎉

What changed in this PR

Adds Dependabot configuration for the repository’s uv dependencies, targeting security fixes without routine version-update PRs.

Changes:

  • Configures Conventional Commit messages with a chore prefix and dependency scope.
  • Groups security updates into a single PR.
  • Disables routine version-update PRs with open-pull-requests-limit: 0.
File Description
.github/​dependabot.yml Configures uv security-update grouping, commit formatting, and version-update limits.

Review effort: Balanced

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.

2 participants