Repository navigation
ci: Lint every commit on Dependabot PRs - #82
Merged
Merged
Conversation
slifty
force-pushed
the
80-commitlint-pr-author
branch
2 times, most recently
from
November 20, 2026 15:44
7e62091 to
377629a
Compare
Skipping commitlint on Dependabot PRs also skipped any commit we added or amended there, and those commits decide the release. Only the subject length of Dependabot's own messages needs an exception. Issue #83 Lint commits we add or amend on Dependabot PRs Claude-Session: 01c28651-55de-4799-bd36-9f4e602b4131
slifty
force-pushed
the
80-commitlint-pr-author
branch
from
November 20, 2026 15:48
377629a to
3b772c2
Compare
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.
This PR runs commitlint on Dependabot PRs again, so a commit you add to one (such as enabling a new rule) is linted like any other. Commits signed off by Dependabot, including ones you amend, are exempt only from the 50-character subject limit. Their conventional-commit header is still checked, so a mangled type can't slip through and mis-release.
Closes #83
Testing
npm run lintandnpm testpass. Ran commitlint locally against: Dependabot's original long subject (passes), a long human subject (fails), a Dependabot message with its type stripped (fails), and a normal commit (passes).🤖 Generated with Claude Code (session 01c28651-55de-4799-bd36-9f4e602b4131)