From 71eab61a5ddb20cb315ad54ec03b364ab33a9952 Mon Sep 17 00:00:00 2001 From: xiao Date: Thu, 9 Jan 2025 10:06:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20issue=20=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E5=92=8C=E9=87=8D=E6=96=B0=E6=89=93=E5=BC=80=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E9=80=9A=E7=9F=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cnb.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.cnb.yml b/.cnb.yml index 975ba67..d6cdef0 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -5,6 +5,32 @@ $: docker: build: dockerfile: .ide/Dockerfile + issue.open: + - stages: + - name: issue-notice + image: tencentcom/wecom-message + imports: https://cnb.cool/btpanel/secret/-/blob/main/wework-robots.yml + settings: + robot: $CNB_WARRIOR_ROBOT + msgType: markdown + content: | + > **有人提issue啦** + > **标 题:** $CNB_ISSUE_TITLE + > **发起人:** $CNB_ISSUE_OWNER + > **查看:** [$CNB_EVENT_URL]($CNB_EVENT_URL) + issue.reopen: + - stages: + - name: issue-notice + image: tencentcom/wecom-message + imports: https://cnb.cool/btpanel/secret/-/blob/main/wework-robots.yml + settings: + robot: $CNB_WARRIOR_ROBOT + content: | + > **$CNB_BUILD_USER重新打开了一个issue** + > **标 题:** $CNB_ISSUE_TITLE + > **发起人:** $CNB_ISSUE_OWNER + > **查 看:** [$CNB_EVENT_URL]($CNB_EVENT_URL) + push: - runner: tags: cnb:arch:amd64