ci: exclude "docs" commit type from minBodyLength commit message validation (#37764)

docs commits are sometimes trivial (e.g. an obvious typo fix) and in such cases its very
akward to to write up 100 chars worth of text about why this typo fix is the best thing in the
world and why it is so important and crucial that we must know why we are fixing the typo
at all. After all most typos are not just typos. Or are they? We'll shall see...

PR Close #37764
This commit is contained in:
Igor Minar 2020-06-25 17:45:06 -07:00 committed by Andrew Kushnir
parent c5b125b7db
commit acf3cff9ee
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import {MergeConfig} from '../dev-infra/pr/merge/config';
const commitMessage = { const commitMessage = {
'maxLength': 120, 'maxLength': 120,
'minBodyLength': 100, 'minBodyLength': 100,
'minBodyLengthExcludes': ['docs'],
'types': [ 'types': [
'build', 'build',
'ci', 'ci',