diff options
| author | ST-DDT <[email protected]> | 2022-08-05 08:45:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-05 06:45:32 +0000 |
| commit | dd73ad8018ee8a9fc2a36b1c3e072caadfe0a44a (patch) | |
| tree | 0cf93aec658e21584cfdb24e6afe25d46e21c3b5 /scripts | |
| parent | 23d86aa0289a00f49b2ac6d3d7562f5c5398d1f8 (diff) | |
| download | faker-dd73ad8018ee8a9fc2a36b1c3e072caadfe0a44a.tar.xz faker-dd73ad8018ee8a9fc2a36b1c3e072caadfe0a44a.zip | |
ci: allow all commit keywords in PR titles and add locale keyword (#1230)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/verifyCommit.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/verifyCommit.ts b/scripts/verifyCommit.ts index 11f22ab4..35510011 100644 --- a/scripts/verifyCommit.ts +++ b/scripts/verifyCommit.ts @@ -12,7 +12,7 @@ const msg = readFileSync(msgPath, 'utf-8').trim(); const releaseRE = /^v\d/; const commitRE = - /^(revert: )?(feat|fix|docs|dx|refactor|perf|test|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?: .{1,50}/; + /^(revert: )?(feat|fix|docs|dx|refactor|perf|test|locale|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?: .{1,50}/; const isMergeCommit = msg.startsWith('Merge remote-tracking-branch'); |
