From 475ec50931bf45cc18d0a3aa74095e42e4937ddb Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sun, 29 Nov 2026 08:36:18 +0800 Subject: [PATCH] chore(ci): relax commitlint body line length limit --- .github/workflows/engineering-governance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/engineering-governance.yml b/.github/workflows/engineering-governance.yml index f82dcac..61384e2 100644 --- a/.github/workflows/engineering-governance.yml +++ b/.github/workflows/engineering-governance.yml @@ -43,7 +43,7 @@ jobs: tool="$RUNNER_TEMP/governance-commitlint" npm install --prefix "$tool" --ignore-scripts --no-audit --no-fund \ @commitlint/cli@21.2.4 @commitlint/config-conventional@21.2.4 - printf '%s\n' "module.exports = {extends: [require.resolve('@commitlint/config-conventional')], defaultIgnores: true, rules: {'subject-case': [0], 'header-max-length': [2, 'always', 72], 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'refactor', 'test', 'chore', 'perf', 'ci', 'build']]}};" > "$tool/commitlint.config.cjs" + printf '%s\n' "module.exports = {extends: [require.resolve('@commitlint/config-conventional')], defaultIgnores: true, rules: {'subject-case': [0], 'body-max-line-length': [0], 'header-max-length': [2, 'always', 72], 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'refactor', 'test', 'chore', 'perf', 'ci', 'build']]}};" > "$tool/commitlint.config.cjs" for message in 'Merge bypass' 'Merge fix: bypass'; do if printf '%s\n' "$message" | node "$tool/node_modules/@commitlint/cli/cli.js" --config "$tool/commitlint.config.cjs" >/dev/null 2>&1; then echo "commitlint incorrectly ignored: $message" >&2