From 1996d3292f33053a8f7de864b0980a1cf841fa14 Mon Sep 17 00:00:00 2001 From: Robin Bowes Date: Fri, 11 Sep 2026 14:57:51 +0100 Subject: [PATCH] ci: lint dependabot commits like any other The exemption was added while the commitlint action pinned `@commitlint/ensure` ^19, which had no URL exemption in body-max-line-length and so rejected Dependabot's markdown link lists. Forking the action onto commitlint v21 fixed that cause (2026-08-11-commitlint-ci-version-skew, which rejected this workaround by name); the exemption has been dead weight since. It also suppressed every rule on bot commits, including the subject form release-please parses to build the changelog. Verified: all historical Dependabot commits in this repo lint clean without it. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01RL141RPfpT2aQEYWQEg7RP --- commitlint.config.mjs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commitlint.config.mjs b/commitlint.config.mjs index 7fe17c4..d9f773f 100644 --- a/commitlint.config.mjs +++ b/commitlint.config.mjs @@ -1,9 +1,5 @@ export default { extends: ['@commitlint/config-conventional'], - // Dependabot generates bodies with long markdown URLs that exceed - // body-max-line-length and will not wrap them. Skip its commits; the full - // ruleset still applies to human authors. - ignores: [(message) => message.includes('Signed-off-by: dependabot[bot]')], rules: { // `deps` is not a config-conventional type. Dependabot uses it so // release-please can route those commits to a visible Dependencies