From a02b1e13ece20a8f76d53482376ca03432677ea4 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Thu, 16 Mar 2023 14:55:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20.devops/=E6=9C=AA=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devops/未命名项目.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .devops/未命名项目.yml diff --git a/.devops/未命名项目.yml b/.devops/未命名项目.yml new file mode 100644 index 00000000000..12ce2fdbfb0 --- /dev/null +++ b/.devops/未命名项目.yml @@ -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 +