chore(ci): add conventional commit prefix to dependabot config#1991
Conversation
Dependabot PRs fail commit-lint because the auto-generated message
("Bump X from Y to Z") lacks the required conventional commit
prefix. Adding commit-message.prefix ensures future PRs use
"build(deps): bump X from Y to Z" format.
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com>
📝 WalkthroughWalkthroughAdded a Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/dependabot.yml:
- Around line 10-11: The Dependabot commit-message prefix "build(deps)"
conflicts with the project's commitlint type-enum; either change the prefix in
the Dependabot config (the commit-message/prefix entry in
.github/dependabot.yml) to one of the allowed types listed in
commitlint.config.js (type-enum), or update commitlint.config.js to include
"build" in the type-enum so Dependabot PRs pass the PR title linting enforced by
.github/workflows/commit-lint.yaml; pick and apply one of these two changes so
the commit prefix and commitlint rules are consistent.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 3a6be3f0-080c-40f1-8eea-e1643e166b16
📒 Files selected for processing (1)
.github/dependabot.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Summary
Dependabot PRs fail commit-lint because the auto-generated message ("Bump X from Y to Z") lacks the conventional commit prefix. This adds
commit-message.prefix: "build(deps)"so future PRs generatebuild(deps): bump X from Y to Z.Fixes the commit-lint failure on #1926, #1927, #1928, #1929, #1930 (existing PRs still need admin squash-merge, but future ones will pass automatically).
Test plan
Signed-off-by: Prekshi Vyas prekshiv@nvidia.com
Summary by CodeRabbit