diff options
| author | Shinigami <[email protected]> | 2022-08-16 16:52:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-16 08:52:06 +0000 |
| commit | 5dd30f33c0f3135a2d47c7d5f5a2d51c78774c0d (patch) | |
| tree | 28d6c666122e4b40156db0dc9015e50311fe7126 /scripts | |
| parent | f8c9f60307823be517825ae60624f9bbe2ea5219 (diff) | |
| download | faker-5dd30f33c0f3135a2d47c7d5f5a2d51c78774c0d.tar.xz faker-5dd30f33c0f3135a2d47c7d5f5a2d51c78774c0d.zip | |
ci: verify semantic pull requests (#1264)
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 6ca7479a..611c3a35 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|locale|workflow|build|ci|chore|types|wip|release|deps)(\(.+\))?\!?: .{1,50}/; + /^(feat|fix|chore|refactor|docs|test|ci|build|infra|revert|)(\(.+\))?\!?: .{1,50}/; const isMergeCommit = msg.startsWith('Merge remote-tracking-branch'); |
