From 21ee27ead56e452e2570bbbf399c164be5f1d8e2 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 2 Feb 2024 13:15:54 +0330 Subject: [PATCH] chore: update PRLint rules for use lang in title --- .github/prlint.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/prlint.json b/.github/prlint.json index a3f9b2c09..2528de532 100644 --- a/.github/prlint.json +++ b/.github/prlint.json @@ -1,8 +1,8 @@ { "title": [ { - "pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|perf|refactor|style|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$", - "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." + "pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|perf|refactor|style|test|lang)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$", + "message": "PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test, lang) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion." } ] }