ci(commits): allow any casing in pr title subject#99
Merged
Conversation
Drops the lowercase-subject subjectPattern from the semantic-pull-request check. Dependabot titles PRs 'chore(deps): Bump ...' with a non-configurable capital subject, which failed the check on every dependency PR; we accept mixed casing after the conventional prefix for human PRs as well. Co-Authored-By: Claude Fable 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.
What
Removes
subjectPattern: ^(?![A-Z]).+$(and its error message) from the conventional-commits check. Thetype(scope): subjectstructure stays enforced; only the lowercase-first-letter rule on the subject goes away.Why
Dependabot titles every PR
chore(deps): Bump …/chore(deps-dev): Update …with a capital subject that is not configurable, so all five of its first PRs (#93–#97) failcheck-commits. Per discussion, mixed casing after the conventional prefix is acceptable for human PRs too, so the rule is relaxed globally rather than special-casing the bot.After this merges, the open Dependabot PRs get
@dependabot rebasecomments so the check re-evaluates against the relaxed config.🤖 Generated with Claude Code