From 495bf1954c6945fd274ca9ae81a38178171be4e5 Mon Sep 17 00:00:00 2001 From: gitgit Date: Mon, 15 Aug 2022 01:30:00 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/=E9=A1=B9=E7=9B=AE=E6=9C=89?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E5=8F=91=E9=80=81=E9=92=89=E9=92=89=E6=B6=88?= =?UTF-8?q?=E6=81=AF.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/项目有推送发送钉钉消息.yml | 36 ++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .devops/项目有推送发送钉钉消息.yml diff --git a/.devops/项目有推送发送钉钉消息.yml b/.devops/项目有推送发送钉钉消息.yml new file mode 100644 index 0000000..bfe7ecc --- /dev/null +++ b/.devops/项目有推送发送钉钉消息.yml @@ -0,0 +1,36 @@ +version: 2 +name: 项目有推送发送钉钉消息 +description: "" +global: + concurrent: false +trigger: + webhook: gitlink@1.0.0 + event: + - ref: push + ruleset: + - param-ref: branch + operator: INCLUDE + value: '"master"' + ruleset-operator: AND +workflow: + - ref: dingtalk_notice_action_card_0 + name: 钉钉通知-ActionCard + task: dingtalk_notice_action_card@1.0.2 + input: + boot_webhook_url: ((wecom.bot_webhook)) + msg_title: '"push"' + msg_text: '"有代码提交啦"' + single_title: '""' + single_url: '""' + btns: '"[]"' + needs: + - start + - ref: start + name: 开始 + task: start + - ref: end + name: 结束 + task: end + needs: + - dingtalk_notice_action_card_0 +