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:
parent
c5b125b7db
commit
acf3cff9ee
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue