Browse Source

ci: set GH_TOKEN env var

ayn2op 1 năm trước cách đây
mục cha
commit
ba885d461c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 \