瀏覽代碼

ci: set GH_TOKEN env var

ayn2op 1 年之前
父節點
當前提交
ba885d461c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/ci.yml

+ 2 - 0
.github/workflows/ci.yml

@@ -29,6 +29,8 @@ jobs:
 
       - name: Send repository dispatch
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: |
           gh api \
             --method POST \