From 3d277df447345ebdaedefdfdcfac9e81ba9c74f8 Mon Sep 17 00:00:00 2001 From: ismay <7355199+ismay@users.noreply.github.com> Date: Mon, 1 Aug 2022 15:57:09 +0200 Subject: [PATCH] fix: ignore skip release commits for commitlint --- config/commitlint.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/commitlint.config.js b/config/commitlint.config.js index 3e16e7f1..b8cd063a 100644 --- a/config/commitlint.config.js +++ b/config/commitlint.config.js @@ -1,3 +1,9 @@ module.exports = { extends: ['@commitlint/config-conventional'], + /* + * Ignore commits that don't contribute to a release. Release + * commits often exceed the max. amount of characters because + * of the appended changelog. This ignores those commits. + */ + ignores: [(commit) => commit.includes('[skip release]')], }