fix: 使用 PAT_TOKEN 替代 GITHUB_TOKEN 以支持推送 workflow 文件

This commit is contained in:
pzy committed 2026-03-08 23:20:06 +08:00
1 parent aba066ffb5
commit 8f55c56ea3
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Checkout 代码
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT_TOKEN }}
fetch-depth: 0
- name: 配置 Git 用户