Skip to content

Commit

Permalink
chore: allow long commit message titles if dependabot generated them
Browse files Browse the repository at this point in the history
  • Loading branch information
btlghrants committed Nov 1, 2024
1 parent 6ba1dc1 commit 5c7298d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
module.exports = { extends: ["@commitlint/config-conventional"] };
module.exports = {
extends: ["@commitlint/config-conventional"],
ignores: [
// prevent header-max-length error on long, dependabot-gen'd commits titles
// https://github.com/dependabot/dependabot-core/issues/2445
(message) => /^chore: bump .+ from .+ to .+$/m.test(message)
],
};

0 comments on commit 5c7298d

Please sign in to comment.