fix(dev-infra): add an upstream commit message type

- don't require a commit body for it
This commit is contained in:
Michael Prentice 2020-08-15 20:46:39 -04:00
parent d870e5c309
commit 8b97de61f5
No known key found for this signature in database
GPG Key ID: A21110C72E90BFB7

View File

@ -6,7 +6,7 @@ import {CommitMessageConfig} from '../dev-infra/commit-message/config';
export const commitMessage: CommitMessageConfig = { export const commitMessage: CommitMessageConfig = {
maxLineLength: 120, maxLineLength: 120,
minBodyLength: 20, minBodyLength: 20,
minBodyLengthTypeExcludes: ['docs'], minBodyLengthTypeExcludes: ['docs', 'upstream'],
types: [ types: [
'build', 'build',
'ci', 'ci',
@ -18,6 +18,7 @@ export const commitMessage: CommitMessageConfig = {
'release', 'release',
'style', 'style',
'test', 'test',
'upstream',
], ],
scopes: [ scopes: [
'animations', 'animations',