From 4569aca5fba26e81fc8313ca0019cfcafc8b0389 Mon Sep 17 00:00:00 2001 From: Niels Pardon Date: Mon, 8 Jun 2026 14:11:57 +0200 Subject: [PATCH] ci: align commitlint config with substrait-io/substrait Add the second dependabot ignore regex for "Updates the requirements" messages and the rules block (body/footer max line length and body-leading-blank disabled) to match the upstream pr_title workflow. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pr_title.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index a4351db..db3cf3d 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -15,7 +15,15 @@ jobs: - run: > echo 'module.exports = { // Workaround for https://github.com/dependabot/dependabot-core/issues/5923 - "ignores": [(message) => /^Bumps \[.+]\(.+\) from .+ to .+\.$/m.test(message)] + "ignores": [ + (message) => /^Bumps \[.+]\(.+\) from .+ to .+\.$/m.test(message), + (message) => /^Updates the requirements on .+ to permit the latest version\.$/m.test(message) + ], + "rules": { + "body-max-line-length": [0, "always", Infinity], + "footer-max-line-length": [0, "always", Infinity], + "body-leading-blank": [0, "always"] + } }' > .commitlintrc.js - run: npx commitlint --extends @commitlint/config-conventional --verbose <<< $COMMIT_MSG env: