diff --git a/dev-infra/commit-message/validate.ts b/dev-infra/commit-message/validate.ts index fb9a5be664..c30570e467 100644 --- a/dev-infra/commit-message/validate.ts +++ b/dev-infra/commit-message/validate.ts @@ -136,6 +136,11 @@ export function validateCommitMessage( return false; } + // Commits with the type of `release` do not require a commit body. + if (commit.type === 'release') { + return true; + } + ////////////////////////// // Checking commit body // //////////////////////////