mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: fix regex
This commit is contained in:
parent
2663415d47
commit
89492b3002
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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user