Skip to content

Commit 1145309

Browse files
committed
ci: 添加工作流手动触发参数
- 在 update-jdk 工作流中添加 workflow_dispatch 事件,支持手动触发 - 新增输入参数 tags,用于指定测试场景标签
1 parent c560cb1 commit 1145309

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/update-jdk.yml

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
- error-understand # 不需要每次推送执行,所以选择error-understand分支
1010
schedule:
1111
- cron: '5 * * * *' # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule
12+
workflow_dispatch:
13+
inputs:
14+
tags:
15+
description: 'Test scenario tags'
16+
required: true
17+
type: string
1218

1319
# on:
1420
# schedule:

0 commit comments

Comments
 (0)