Skip to content

Commit 58f82ce

Browse files
authored
Update sync-issue.yml
1 parent 9926911 commit 58f82ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
2525
# 使用正则表达式匹配所需的参数
2626
sync_type_match = re.search(r'### 同步类型\s*\n\s*(\w+)', issue_body)
27-
source_url_match = re.search(r'### 源地址\s*\n\s*([\w/:-]+)', issue_body)
28-
target_path_match = re.search(r'### 目标路径\s*\n\s*([\w/:-]+)', issue_body)
27+
source_url_match = re.search(r'### 源地址\s*\n\s*([\w/\.:-]+)', issue_body)
28+
target_path_match = re.search(r'### 目标路径\s*\n\s*([\w/\.:-]+)', issue_body)
2929
3030
# 提取参数
3131
sync_type = sync_type_match.group(1) if sync_type_match else ""

0 commit comments

Comments
 (0)