diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d28ddde6..0bb5bdf5 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -53,10 +53,9 @@ jobs: - name: notify run: | curl ${{ secrets.WEBHOOK_URL }} -H 'Content-Type: application/json' -d '{ - "msgtype": "text", - "text": { - "content": ''' - "'${{ github.repository }}' GitHubAction Failed! \n" + "Please click here for details \n" + "https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'" - ''' + "msgtype": "markdown", + "markdown": { + "content": "'${{ github.repository }}' GitHubAction Failed!\n + >失败详清查看:https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID} " } }'