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:

main:
  pull_request:
    - stages:
        - name: notice
          image: tencentcom/wecom-message
          settings:
            robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
            content: |
              > **PR needs review:**
              > **Title:** ${CNB_PULL_REQUEST_TITLE}
              > **Author:** ${CNB_PULL_REQUEST_PROPOSER}
              > [View Details]($CNB_EVENT_URL)
  pull_request.changes_requested:
    - stages:
        - name: notice
          image: tencentcom/wecom-message
          settings:
            robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
            content: |
              > **PR needs improvement:**
              > **Title:** ${CNB_PULL_REQUEST_TITLE}
              > **Author:** ${CNB_PULL_REQUEST_PROPOSER}
              > **Reviewer:** ${CNB_BUILD_USER}
              > [View Details]($CNB_EVENT_URL)
  pull_request.merged:
    - stages:
        - name: notice
          image: tencentcom/wecom-message
          settings:
            robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
            content: |
              > **PR has been merged:**
              > **Title:** ${CNB_PULL_REQUEST_TITLE}
              > **Author:** ${CNB_PULL_REQUEST_PROPOSER}
              > [View Details]($CNB_EVENT_URL)
  pull_request.mergeable:
    - stages:
        - name: auto merge
          type: git:auto-merge
          options:
            mergeType: squash
            removeSourceBranch: true
        - name: notice
          image: tencentcom/wecom-message
          settings:
            robot: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
            content: |
              > **PR automatically merged:**
              > **Title:** ${CNB_PULL_REQUEST_TITLE}
              > **Author:** ${CNB_PULL_REQUEST_PROPOSER}
              > [View Details]($CNB_EVENT_URL)

Replace robot with the copied Webhook address.

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