ci(commitlint): skip commit-message validation for dependabot PRs#22
Merged
Conversation
Dependabot commit bodies embed release notes / compare links whose lines exceed 100 chars, tripping commitlint body-max-line-length (inherited from @commitlint/config-conventional) and failing the Validate Commit Messages step on every dependency PR — blocking the apps PR queue. Gate the step on github.actor != 'dependabot[bot]' so human PRs are still validated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Assisted-by: Claude:Opus-4.8 [claude-code]
Contributor
|
View your CI Pipeline Execution ↗ for commit 9ef4b3b
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
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.
Problem
Every Dependabot PR fails CI at Validate Commit Messages — Dependabot's commit body embeds release notes/compare links with lines >100 chars, tripping
body-max-line-length(inherited from@commitlint/config-conventional). This blocked the apps PR queue (e.g. #19/#20/#21 Angular bumps).Fix
Gate the commitlint step on
github.actor != 'dependabot[bot]'. Human PRs are still fully validated; bot PRs skip the message lint (their messages are bot-generated and not under our control).Not this
ERR_PNPM_EIOdisk flake (storage), not commitlint.🤖 Generated with Claude Code