ci: don't validate dependabot commits (#5026)

Dependabot doesn't allow configuring the max commit message line length
until https://github.com/dependabot/dependabot-core/issues/2445 is
resolved, so we cannot validate Dependabot commits at this time.
This commit is contained in:
Marco Ferrari 2023-12-20 09:12:02 +01:00 committed by GitHub
parent 9db632f0e1
commit 117318f55c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,7 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
helpUrl: 'https://www.conventionalcommits.org/'
helpUrl: 'https://www.conventionalcommits.org/',
// We need this until https://github.com/dependabot/dependabot-core/issues/2445
// is resolved.
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)]
}