Notify the Group via Issue

# Add Group Robot

Add a robot to the WeChat Work group and copy the generated Webhook address.

# Configure the Pipeline

Example:

.issue-open: &issue-open
  - name: issue-notice
    image: tencentcom/wecom-message
    settings:
      robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
      content: |
        > **Someone has opened an issue**
        > **Title:** $CNB_ISSUE_TITLE
        > **Author:** $CNB_ISSUE_OWNER
        > [View Details]($CNB_EVENT_URL)
.issue-reopen: &issue-reopen
  - name: issue-notice
    image: tencentcom/wecom-message
    settings:
      robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
      content: |
        > **$CNB_BUILD_USER has reopened an issue**
        > **Title:** $CNB_ISSUE_TITLE
        > **Author:** $CNB_ISSUE_OWNER
        > [View Details]($CNB_EVENT_URL)
.issue-close: &issue-close
  - name: issue-close
    image: tencentcom/wecom-message
    settings:
      robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
      content: |
        > **$CNB_BUILD_USER has closed an issue**
        > **Title:** $CNB_ISSUE_TITLE
        > **Author:** $CNB_ISSUE_OWNER
        > [View Details]($CNB_EVENT_URL)
$:
  issue.close:
    - stages:
        - *issue-close
  issue.reopen:
    - stages:
        - *issue-reopen
  issue.open:
    - stages:
        - *issue-open

Replace robot with the copied Webhook address.

The pipeline is triggered by the user who creates, closes, or reopens the issue.

The specific information format can be customized, and the available variables can be found in the environment variables documentation.