mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 19:24:22 +01:00
ci: fix regex
This commit is contained in:
2
.github/workflows/auto-label-tui.yml
vendored
2
.github/workflows/auto-label-tui.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
const description = issue.body || '';
|
||||
|
||||
// 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)) {
|
||||
await github.rest.issues.addLabels({
|
||||
|
||||
Reference in New Issue
Block a user