Skip to content
Snippets Groups Projects
Commit a228afb6 authored by Psnail's avatar Psnail Committed by GitHub
Browse files

Update go.yml

parent 21ce8be0
No related branches found
No related tags found
No related merge requests found
......@@ -63,13 +63,17 @@ jobs:
- name: Coverage
run: bash <(curl -s https://codecov.io/bash)
# Because the contexts of push and PR are different, there are two Notify.
- name: DingTalk Message Notify only Push
uses: zcong1993/actions-ding@v3.0.1
if: ${{ always() && github.event_name == 'push' && github.repository == 'apache/dubbo-go' }}
if: |
always() &&
github.event_name == 'push' &&
github.repository == 'apache/dubbo-go'
with:
# DingDing bot token
dingToken: 6374f1bf8d4f23cde81d4a4b8c1f0bc98cc92b5151ca938ab938d3d7f4230fc4
secret: SECa98677289194bb0e5caec3051301d06515750ff1bd2f932a4704298afb2e0ae6
dingToken: ${{ env.DING_TOKEN }}
secret: ${{ env.DING_SIGN }}
# Post Body to send
body: |
{
......@@ -82,12 +86,13 @@ jobs:
- name: DingTalk Message Notify only PR
uses: zcong1993/actions-ding@v3.0.1
if: ${{ always() && github.event_name == 'pull_request' && github.repository == 'apache/dubbo-go' }}
if: |
always() &&
github.event_name == 'pull_request' &&
github.repository == 'apache/dubbo-go'
with:
# DingDing bot token
dingToken: 6374f1bf8d4f23cde81d4a4b8c1f0bc98cc92b5151ca938ab938d3d7f4230fc4
secret: SECa98677289194bb0e5caec3051301d06515750ff1bd2f932a4704298afb2e0ae6
# Post Body to send
dingToken: ${{ env.DING_TOKEN }}
secret: ${{ env.DING_SIGN }}
body: |
{
"msgtype": "markdown",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment