From e159b552bbbaf1eef001084eeaa537cddd406523 Mon Sep 17 00:00:00 2001 From: lmatz Date: Fri, 20 Sep 2024 14:11:32 +0800 Subject: [PATCH] fix: forbid the usage of single quotation in title to avoid failure of cherry-pick --- .github/pr-title-checker-config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json index 27727f7b390c..af3d29a5ab8c 100644 --- a/.github/pr-title-checker-config.json +++ b/.github/pr-title-checker-config.json @@ -4,10 +4,10 @@ "color": "B60205" }, "CHECKS": { - "regexp": "^(cherrypick|cherry pick|cherry-pick)?(| |:|: )+(feat|fix|test|refactor|chore|style|doc|perf|build|ci|revert|deprecate)(\\(.*\\))?:.*", + "regexp": "^(cherrypick|cherry pick|cherry-pick)?(| |:|: )+(feat|fix|test|refactor|chore|style|doc|perf|build|ci|revert|deprecate)(\\(.*\\))?:[^']*", "ignoreLabels" : ["ignore-title"] }, "MESSAGES": { - "failure": "The PR title is invalid. Please refer to https://github.com/risingwavelabs/risingwave/blob/main/CONTRIBUTING.md#pull-request-title for the convention." + "failure": "The PR title is invalid. Please refer to https://github.com/risingwavelabs/risingwave/blob/main/CONTRIBUTING.md#pull-request-title and https://github.com/risingwavelabs/risingwave/blob/main/.github/pr-title-checker-config.json for the convention." } }