Repository navigation
ci(ci): lift the subject-length limit for Dependabot titles - #50
Merged
Merged
Conversation
#49 assumed committed rejected Dependabot's capitalized "Bump". It doesn't: subject_capitalized = false only means a capital is not required. What committed actually rejects is length. A title such as "chore(deps): Bump ghcr.io/devcontainers/features/common-utils from 2.5.9 to 2.7.1" is 81 characters, and Dependabot cannot shorten it. For Dependabot alone, committed now runs against a copy of the config with subject_length = 0. The lowercasing #49 added did nothing, so it is removed. The Bump allowance in the subject pattern stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Follow-up to #49. Rebasing Dependabot's #47 onto main proved half of #49 right and half wrong:
subjectPatternexception for a leadingBump.committednever rejected the capital.subject_capitalized = falseonly means a capital isn't required. Whatcommittedactually rejected was length:Commit subject is too long, 81 exceeds the max length of 72. Dependabot spells out the full package path (ghcr.io/devcontainers/features/common-utils) and has no option to shorten it.Changes:
dependabot[bot]only,committedruns against a copy ofcommitted.tomlwithsubject_length = 0. Type, scope, imperative mood and the other rules still apply.Test plan
committedwithsubject_length = 0, and fails with the real config@dependabot rebaseon chore(deps): Bump ghcr.io/devcontainers/features/common-utils from 2.5.9 to 2.7.1 #47 passes the title check🤖 Generated with Claude Code