From ccb4269196e20122f86bf963e832279ef6080da5 Mon Sep 17 00:00:00 2001 From: Aleksander Zaruczewski Date: Sun, 21 Jan 2024 12:30:57 +0200 Subject: [PATCH] ci(commitlint): ignore dependabot's commit messages (#89) --- CHANGELOG.md | 2 ++ commitlint.config.js | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 commitlint.config.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 35b9259..436f3ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +- Ignore dependabot's commit messages in `commitlint` check + diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..2ef25a1 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,4 @@ +module.exports = { + extends: ["@commitlint/config-conventional"], + ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)], +};