Skip to content

chore(ci): add conventional commit prefix to dependabot config#1991

Merged
brandonpelfrey merged 2 commits into
mainfrom
fix/dependabot-commit-prefix
Apr 16, 2026
Merged

chore(ci): add conventional commit prefix to dependabot config#1991
brandonpelfrey merged 2 commits into
mainfrom
fix/dependabot-commit-prefix

Conversation

@prekshivyas

@prekshivyas prekshivyas commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

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 generate build(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

  • 2-line config change, no code impact

Signed-off-by: Prekshi Vyas prekshiv@nvidia.com

Summary by CodeRabbit

  • Chores
    • Updated dependency automation: weekly dependency update commits now use a consistent commit-message prefix ("chore(deps)") to improve repo history clarity.

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>
@coderabbitai

coderabbitai Bot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Added a commit-message block to Dependabot's github-actions update configuration, setting the commit message prefix to "chore(deps)"; no other schedule, ecosystem, directory, or update behavior changed. (48 words)

Changes

Cohort / File(s) Summary
Dependabot Configuration
.github/dependabot.yml
Inserted commit-message configuration with prefix: "chore(deps)" under the existing github-actions weekly update group. No other Dependabot settings were modified.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐇 I nibble at commits with joy and glee,
A tiny tag hops into history:
"chore(deps)" stamped neat and true,
Bots leap forward, tidy and new. ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title references adding a conventional commit prefix to dependabot config, which matches the core change shown in the raw summary, though the prefix differs between title and actual config. Update the title to match the actual prefix used: change 'chore(deps)' to 'build(deps)' for consistency with the implemented configuration.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/dependabot-commit-prefix

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

📥 Commits

Reviewing files that changed from the base of the PR and between 8c770ad and fadfcac.

📒 Files selected for processing (1)
  • .github/dependabot.yml

Comment thread .github/dependabot.yml Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@brandonpelfrey brandonpelfrey changed the title build(ci): add conventional commit prefix to dependabot config chore(ci): add conventional commit prefix to dependabot config Apr 16, 2026
@brandonpelfrey brandonpelfrey merged commit e8c9435 into main Apr 16, 2026
15 of 17 checks passed
@prekshivyas prekshivyas deleted the fix/dependabot-commit-prefix branch April 17, 2026 16:07
@wscurran wscurran added the chore Build, CI, dependency, or tooling maintenance label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants