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 ea23967 ci: fix typo in title check regex (#136)
ea23967 is described below
commit ea239672ac338145236c2724ee7876e55366bc15
Author: David Li <[email protected]>
AuthorDate: Tue Sep 20 09:35:58 2022 -0400
ci: fix typo in title check regex (#136)
---
.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 484f8cd..c761990 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-zA-Z0-9_/\-,]+\)?";
+ const scope = "\([a-zA-Z0-9_/\\-,]+\)?";
const delimiter = "!?:";
const subject = " .+";
const regexp = new RegExp(`^${commitType}${scope}${delimiter}${subject}$`);