forked from mindspore-Ecosystem/mindspore
feat: .devops/未命名项目.yml
This commit is contained in:
parent
61604c19e9
commit
a02b1e13ec
|
@ -0,0 +1,35 @@
|
||||||
|
version: 2
|
||||||
|
name: 未命名项目
|
||||||
|
description: ""
|
||||||
|
global:
|
||||||
|
concurrent: 1
|
||||||
|
trigger:
|
||||||
|
webhook: gitlink@1.0.0
|
||||||
|
event:
|
||||||
|
- ref: pr
|
||||||
|
ruleset:
|
||||||
|
- param-ref: action
|
||||||
|
operator: EQ
|
||||||
|
value: "'opened'"
|
||||||
|
ruleset-operator: AND
|
||||||
|
workflow:
|
||||||
|
- ref: start
|
||||||
|
name: 开始
|
||||||
|
task: start
|
||||||
|
- ref: dingtalk_notice_text_0
|
||||||
|
name: 钉钉通知-文本
|
||||||
|
task: dingtalk_notice_text@1.0.2
|
||||||
|
input:
|
||||||
|
boot_webhook_url: ((dingdingtalk.token_url))
|
||||||
|
secret: ((dingdingtalk.token_serect))
|
||||||
|
msg_text: '"((trigger.user))从((trigger.source_branch))提交了PR到((trigger.target_branch)),请您尽快确认是否合并。"'
|
||||||
|
at_user_ids: '"[]"'
|
||||||
|
at_mobiles: '"[]"'
|
||||||
|
needs:
|
||||||
|
- start
|
||||||
|
- ref: end
|
||||||
|
name: 结束
|
||||||
|
task: end
|
||||||
|
needs:
|
||||||
|
- dingtalk_notice_text_0
|
||||||
|
|
Loading…
Reference in New Issue