From 769545e4ea6d50fa624be1dec89232cbc6380434 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 27 Jan 2024 09:36:00 +0900 Subject: [PATCH] chore: add PR title patterns for release --- .github/prlint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/prlint.json b/.github/prlint.json index a3f9b2c0994e..b8dec09f108d 100644 --- a/.github/prlint.json +++ b/.github/prlint.json @@ -1,7 +1,7 @@ { "title": [ { - "pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|perf|refactor|style|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$", + "pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|perf|refactor|style|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S|Prep for \\d\\.\\d\\.\\d release|\\d\\.\\d\\.\\d Ready code$", "message": "PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion." } ]