From 56e3e70fa29d76b56a6678bdc116bb46da9d7cf2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 24 Jan 2026 23:19:59 +0000 Subject: [PATCH] fix(ci): tighten minor_pattern regex in auto-versioning The previous pattern '/(feat|feat\\()/)' was too broad and could match any commit containing 'feat' substring (like 'defeat', 'feature'). Changed to '/^feat(\\(.+\\))?:/' which properly matches only Conventional Commits format: 'feat:' or 'feat(scope):' --- .github/workflows/auto-versioning.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-versioning.yml b/.github/workflows/auto-versioning.yml index 7dcada3c..c7ae13d8 100644 --- a/.github/workflows/auto-versioning.yml +++ b/.github/workflows/auto-versioning.yml @@ -38,7 +38,7 @@ jobs: major_pattern: "/__MANUAL_MAJOR_BUMP_ONLY__/" # Regex pattern for minor version bump (new features) # Matches: "feat:" prefix in commit messages (Conventional Commits) - minor_pattern: "/(feat|feat\\()/" + minor_pattern: "/^feat(\\(.+\\))?:/" # Patch bumps: All other commits (fix:, chore:, etc.) are treated as patches by default # Pattern to determine formatting version_format: "${major}.${minor}.${patch}"