refactor: .devops/PR通知.yml

This commit is contained in:
xxq250 2023-03-16 10:26:39 +08:00 committed by jianmu
parent 439e50804a
commit 1518d159c9
1 changed files with 12 additions and 8 deletions

View File

@ -12,16 +12,20 @@ workflow:
- ref: start
name: 开始
task: start
- ref: shell_0
name: shell
image: ubuntu:22.10
script:
- echo "hello word"
needs:
- start
- ref: end
name: 结束
task: end
needs:
- shell_0
- dingtalk_notice_text_0
- ref: dingtalk_notice_text_0
name: 钉钉通知-文本
task: dingtalk_notice_text@1.0.2
input:
boot_webhook_url: ((dingdingtalk.token_url))
secret: ((dingdingtalk.token_sercet))
msg_text: '"有的PR提交请审核"'
at_user_ids: '"[]"'
at_mobiles: '"[]"'
needs:
- start