From f738b800fe1341f45224a82a65232cec177892aa Mon Sep 17 00:00:00 2001 From: Justin Marquis <34fathombelow@protonmail.com> Date: Mon, 3 Apr 2023 11:09:37 -0700 Subject: [PATCH] chore: fix PR title config (#13091) Signed-off-by: Justin Marquis <34fathombelow@protonmail.com> --- .github/pr-title-checker-config.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json index 578c8b65c41ad..c3437def33834 100644 --- a/.github/pr-title-checker-config.json +++ b/.github/pr-title-checker-config.json @@ -4,11 +4,12 @@ "color": "EEEEEE" }, "CHECKS": { - "regexp": "^(feat|fix|docs|test|ci|chore|\[Bot\]).*:.+$" + "prefixes": ["[Bot] docs: "], + "regexp": "^(feat|fix|docs|test|ci|chore)!?(\\(.*\\))?!?:.*" }, "MESSAGES": { "success": "PR title is valid", "failure": "PR title is invalid", - "notice": "PR Title needs to pass regex '^(feat|fix|docs|test|ci|chore|\[Bot\]).*:.+$" + "notice": "PR Title needs to pass regex '^(feat|fix|docs|test|ci|chore)!?(\\(.*\\))?!?:.*" } - } \ No newline at end of file + }