From c20d66996c142f60b2aedf820fdb6e06410d8edd Mon Sep 17 00:00:00 2001 From: Robin Bowes Date: Tue, 11 Aug 2026 14:39:40 +0100 Subject: [PATCH] ci: use a maintained commitlint action fork wagoid/commitlint-github-action pins @commitlint/ensure ^19. The exemption for long lines containing a URL landed in v20, so CI enforced a stricter rule than the config intended and failed Dependabot commits on body-max-line-length, while the pre-commit hook resolving v21 passed the same commit. Upstream is unmaintained: master has had no commit since 2025-01-14 and the v20 bump has sat open since July. Point at yo61/commitlint-github-action instead, which runs commitlint v21 on node 24 and is published to ghcr.io. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55bf7c1..27ab30d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,12 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1 + # Fork of wagoid/commitlint-github-action: upstream is unmaintained and pins + # @commitlint/ensure ^19, which predates the exemption for long lines + # containing a URL added in v20. Dependabot bodies are markdown link lists + # well over 100 chars, so ^19 fails them on body-max-line-length while the + # pre-commit hook (v21) passes them. + - uses: yo61/commitlint-github-action@31e5e0454fc0709625e6dcfb502ea18978f45f15 # v6.3.0 with: configFile: commitlint.config.mjs