Unverified Commit df56e35a authored by yyy's avatar yyy Committed by GitHub

Update cli.yml

parent c948e58e
...@@ -10,6 +10,7 @@ on: ...@@ -10,6 +10,7 @@ on:
paths-ignore: paths-ignore:
- "cmds/**" - "cmds/**"
- "**.md" - "**.md"
- "**.yml"
pull_request: pull_request:
branches: branches:
- "master" - "master"
...@@ -17,6 +18,7 @@ on: ...@@ -17,6 +18,7 @@ on:
paths-ignore: paths-ignore:
- "cmds/**" - "cmds/**"
- "**.md" - "**.md"
- "**.yml"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
cli-test: cli-test:
...@@ -65,4 +67,4 @@ jobs: ...@@ -65,4 +67,4 @@ jobs:
- name: notify - name: notify
run: | run: |
echo ${{ secrets.USER_ID }} echo ${{ secrets.USER_ID }}
curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"post","content":{"post":{"zh_cn":{"title":"'${{ github.repository }}' GitHubAction Failed","content":[[{"tag":"text","text":""},{"tag":"a","text":"Please click here for details ","href":"https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'"},{"tag":"at","user_id":"'${{ secrets.USER_ID }}'"}]]}}}}' ${{ secrets.WEBHOOK_URL }} curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"post","content":{"post":{"zh_cn":{"title":"'${{ github.repository }}' GitHubAction Failed","content":[[{"tag":"text","text":""},{"tag":"a","text":"Please click here for details ","href":"https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'"},{"tag":"at","user_id":"'${{ secrets.USER_ID }}'"}]]}}}}' ${{ secrets.WEBHOOK_URL }}
\ No newline at end of file
Markdown is supported
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