Skip to content

Commit 8012c88

Browse files
committed
ci: allow release scopes in commit messages outside of CI
1 parent 07e7350 commit 8012c88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/validate-commits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default function (argv: ValidateCommitsOptions, logger: logging.Logger) {
125125
_invalid(sha, message, 'should not have a scope');
126126
continue;
127127
}
128-
if (commits.length > 1) {
128+
if (argv.ci && commits.length > 1) {
129129
_invalid(sha, message, 'release should always be alone in a PR');
130130
continue;
131131
}

0 commit comments

Comments
 (0)