chore(deps): pin dependabot commit-message prefix to build(deps)#15
Merged
Merged
Conversation
Without an explicit prefix, dependabot emits commit headlines like `Bump xxx from y to z` which trip subject-empty / type-empty in @commitlint/config-conventional. The `conventional commits` CI gate (wagoid/commitlint-github-action) then fails every dependabot PR out of the gate. Wiring `commit-message.prefix: "build(deps)"` into each ecosystem entry makes dependabot use `build(deps): bump ...` headlines instead, which satisfies the conventional-commits rule without rewriting bot-authored history. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Without an explicit prefix, dependabot emits commit headlines like
Bump xxx from y to z. That fails theconventional commitsCI gate (wagoid/commitlint-github-action + @commitlint/config-conventional) withsubject-empty/type-empty, so every dependabot PR sits red. Wiringcommit-message.prefix: \"build(deps)\"into each of the 4 ecosystem entries makes dependabot authorbuild(deps): bump ...headlines instead, satisfying conventional-commits without rewriting bot-authored history.After this lands, existing dependabot PRs (#12 / #13) get
@dependabot recreate-ed and come back with the new headline shape.Test plan
chore(deps): ...).@dependabot recreateon build(deps): Bump Meziantou.Analyzer from 3.0.78 to 3.0.87 #12 / build(deps): Bump coverlet.collector from 10.0.0 to 10.0.1 #13, confirm new PRs get prefixed headlines.