Skip to content

Commit fbe954a

Browse files
authored
[elsa] ci: fix version branch regex matching (#124)
1 parent 593ec34 commit fbe954a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/elsa-compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches:
66
- 'main'
7-
- '[0-9]+.[0-9]+.x' # 匹配 x.x.x 格式且最后一位为 x(如 1.2.x、22.1.x)
7+
- 'elsa-[0-9]+\.[0-9]+\.x' # 转义小数点,匹配如 elsa-0.1.x
88
paths:
99
- 'framework/elsa/**'
1010
pull_request:
1111
branches:
1212
- 'main'
13-
- '[0-9]+.[0-9]+.x'
13+
- 'elsa-[0-9]+\.[0-9]+\.x' # 转义小数点,匹配如 elsa-0.1.x
1414
paths:
1515
- 'framework/elsa/**'
1616

0 commit comments

Comments
 (0)