Skip to content

Commit d6f7c00

Browse files
committed
[增加]1. 增加工作流监听处理
1 parent c8a4f2e commit d6f7c00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Sync Github To Image
22

33
on:
4+
workflow_run:
5+
workflows: ["Publish Release"] # 监听的工作流名称
6+
types:
7+
- completed # 监听完成事件
48
push:
59
branches: [main]
610
#schedule:
711
# 定时任务,每天 UTC 时间 0 点运行
812
#- cron: "0 0 * * *"
9-
#workflow_dispatch:
13+
workflow_dispatch:
1014

1115
jobs:
1216
sync-gitlink:

0 commit comments

Comments
 (0)