更新 .gitea/workflows/zellij_update.yml
This commit is contained in:
@@ -19,11 +19,6 @@ jobs:
|
||||
- name: 检出仓库代码 (Checkout Repository)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# *** 关键:使用 Gitea Actions 提供的内置 token (即 GITHUB_TOKEN) ***
|
||||
# 此令牌由 Gitea 自动生成,用于在工作流运行时授权。
|
||||
# 它可以读写当前仓库,且不需要您手动配置 Secrets。
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# 确保拉取完整历史记录以进行正确的 git diff 和 commit
|
||||
fetch-depth: 0
|
||||
|
||||
- name: 设置 Git 用户信息 (Set up Git user)
|
||||
|
||||
Reference in New Issue
Block a user