From e1b6b23b0993d4be9e9ab3dd477a6420e6aae7bb Mon Sep 17 00:00:00 2001
From: Psnail <42728902+sdttttt@users.noreply.github.com>
Date: Fri, 11 Sep 2020 13:06:51 +0800
Subject: [PATCH] ci: Improve DingTalk reminder information.

---
 .github/workflows/go.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 0c58af08e..635a5ebf1 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -52,7 +52,7 @@ jobs:
 #     - name: Coverage
 #       run: bash <(curl -s https://codecov.io/bash)
       
-    - name: DingDing Notify Action
+    - name: DingTalk Message Notify
       # You may pin to the exact commit or the version.
       # uses: zcong1993/actions-ding@2a68a4d06ed966d2e5c28178e7187c107ec57862
       uses: zcong1993/actions-ding@v3.0.1
@@ -66,6 +66,6 @@ jobs:
             "msgtype": "markdown",
             "markdown": {
                 "title": "Github Actions",
-                "text": "- name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }}"
+                "text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }} \n - sha: ${{ github.sha	 }} \n - ref: ${{ github.ref }} \n - status: ${{ job.status	}} \n - environment: ${{ os }}"
             }
           }
-- 
GitLab