We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc20ad4 commit 4d8e843Copy full SHA for 4d8e843
1 file changed
ci/validate-pr-title/validate.js
@@ -13,18 +13,12 @@ const allowedTypes = [
13
14
const allowedSubTypes = [
15
"build",
16
- "sql",
17
"log",
18
- "mig",
19
"core",
20
"ilp",
21
- "pgwire",
22
"http",
23
"conf",
24
- "ui",
25
- "wal",
26
- "parquet",
27
- "utils"
+ "utils",
28
];
29
30
const errorMessage = `
@@ -52,8 +46,8 @@ perf(sql): improve pattern matching performance for SELECT sub-queries
52
46
* */
53
47
const prTitleRegex = new RegExp(
54
48
`^(((?:${allowedTypes.join("|")})\\((?:${allowedSubTypes.join(
55
- "|"
56
- )})\\))|build): .*`
49
+ "|",
50
+ )})\\))|build): .*`,
57
51
);
58
59
function validate({ title, onError }) {
0 commit comments