main: push: issue-update: name: 自动更新 issue 标签 stages: - name: 更新 issue type: git:issue-update options: label: add: 已解决 remove: 开发中 $: issue.open: - stages: - name: issue-notice image: tencentcom/wecom-message imports: https://cnb.cool/cnb/secrets/-/blob/main/envs/wework-robots.yml settings: robot: $OCI_REVIEW_ROBOT msgType: markdown content: | > **有人提issue啦** > **标 题:** $CNB_ISSUE_TITLE > **发起人:** $CNB_ISSUE_OWNER > [查看详情]($CNB_EVENT_URL) issue.reopen: - stages: - name: issue-notice image: tencentcom/wecom-message imports: https://cnb.cool/cnb/secrets/-/blob/main/envs/wework-robots.yml settings: robot: $OCI_REVIEW_ROBOT content: | > **$CNB_BUILD_USER重新打开了一个issue** > **标 题:** $CNB_ISSUE_TITLE > **发起人:** $CNB_ISSUE_OWNER > [查看详情]($CNB_EVENT_URL) issue.close: - stages: - name: issue 关闭信息通知到群聊 image: tencentcom/wecom-message imports: https://cnb.cool/cnb/secrets/-/blob/main/envs/wework-robots.yml settings: robot: $OCI_REVIEW_ROBOT content: | > **$CNB_BUILD_USER关闭了一个issue** > **标 题:** $CNB_ISSUE_TITLE > **发起人:** $CNB_ISSUE_OWNER > [查看详情]($CNB_EVENT_URL)