Browse Source

ci: fix regex

Aiden Cline 3 months ago
parent
commit
89492b3002
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/auto-label-tui.yml

+ 1 - 1
.github/workflows/auto-label-tui.yml

@@ -21,7 +21,7 @@ jobs:
             const description = issue.body || '';
             const description = issue.body || '';
 
 
             // Check for version patterns like v1.0.x or 1.0.x
             // Check for version patterns like v1.0.x or 1.0.x
-            const versionPattern = /\b[v]?1\.0\.[x\d]\b/i;
+            const versionPattern = /[v]?1\.0\./i;
 
 
             if (versionPattern.test(title) || versionPattern.test(description)) {
             if (versionPattern.test(title) || versionPattern.test(description)) {
               await github.rest.issues.addLabels({
               await github.rest.issues.addLabels({