From 5ec4166194749ee8b62d62b5eb896f1fea28e57c Mon Sep 17 00:00:00 2001 From: Paul Laffitte Date: Tue, 11 Jun 2024 14:52:29 +0200 Subject: [PATCH] fix: remove commit message length requirements --- .github/workflows/pr-cc.yml | 2 +- commitlint.config.js | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 commitlint.config.js diff --git a/.github/workflows/pr-cc.yml b/.github/workflows/pr-cc.yml index 688d8868..a82bddcf 100644 --- a/.github/workflows/pr-cc.yml +++ b/.github/workflows/pr-cc.yml @@ -18,4 +18,4 @@ jobs: id: check-for-cc uses: ahmadnassri/action-commit-lint@v2 with: - config: conventional + config: ./commitlint.config.js diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 00000000..a8952fff --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,8 @@ +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'header-max-length': [0], + 'body-max-line-length': [0], + 'footer-max-line-length': [0], + }, +};