Skip to content

Commit 1e00568

Browse files
committed
chore: keep manual enhancement labels and accept two-digit versions in PR titles
1 parent fba4362 commit 1e00568

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/carson.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ subscribers:
1313
settings:
1414
auto-labeler:
1515
sync_labels: true
16+
sync_exempt:
17+
- enhancement
1618
rules:
1719
- label: '4.8' # @todo change value whenever the next minor version is changed
1820
base_branch: ['^4\.8$']
@@ -66,7 +68,7 @@ settings:
6668
pr-title-linter:
6769
name: 'Carson / pr-title-linter'
6870
rules:
69-
- pattern: '^(\[\d+\.\d+\]\s{1})?(feat|fix|chore|docs|perf|refactor|style|test|config|revert)(\([\-.@:`a-zA-Z0-9]+\))?!?:\s{1}\S.+\S|Prep for \d\.\d\.\d release|\d\.\d\.\d (Ready|Merge) code$'
71+
- pattern: '^(?:(?:\[\d+\.\d+\] )?(?:feat|fix|chore|docs|perf|refactor|style|test|config|revert)(?:\([\-.@:`a-zA-Z0-9]+\))?!?: \S.+\S|Prep for \d+\.\d+\.\d+ release|\d+\.\d+\.\d+ (?:Ready|Merge) code)$'
7072
description: 'PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test, config, revert) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion.'
7173
level: error
7274
signed-commits:

0 commit comments

Comments
 (0)