浏览代码

Update cli.yml

yyy 1 年之前
父节点
当前提交
df56e35a06
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      .github/workflows/cli.yml

+ 3 - 1
.github/workflows/cli.yml

@@ -10,6 +10,7 @@ on:
     paths-ignore:
       - "cmds/**"
       - "**.md"
+      - "**.yml"
   pull_request:
     branches:
       - "master"
@@ -17,6 +18,7 @@ on:
     paths-ignore:
       - "cmds/**"
       - "**.md"
+      - "**.yml"
   workflow_dispatch:
 jobs:
   cli-test:
@@ -65,4 +67,4 @@ jobs:
     - name: notify
       run: |
         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 }}