This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new f18223e ci: adjust title check regex (#133)
f18223e is described below
commit f18223ed43c94b5c828c66fc1d173f0c0c5a6f21
Author: David Li <[email protected]>
AuthorDate: Mon Sep 19 10:08:47 2022 -0400
ci: adjust title check regex (#133)
---
.github/workflows/dev_pr/title_check.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/dev_pr/title_check.js
b/.github/workflows/dev_pr/title_check.js
index 3434424..484f8cd 100644
--- a/.github/workflows/dev_pr/title_check.js
+++ b/.github/workflows/dev_pr/title_check.js
@@ -33,7 +33,7 @@ const COMMENT_BODY = ":warning: Please follow the
[Conventional Commits format i
function matchesCommitFormat(title) {
const commitType = `(${COMMIT_TYPES.join('|')})`;
- const scope = "\([a-z_/\-]+\)?";
+ const scope = "\([a-zA-Z0-9_/\-,]+\)?";
const delimiter = "!?:";
const subject = " .+";
const regexp = new RegExp(`^${commitType}${scope}${delimiter}${subject}$`);