Update sync.yml

This commit is contained in:
G4v1n 2025-03-10 10:43:26 +08:00 committed by GitHub
parent f97b4bfe98
commit be81a97bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,10 +12,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
with:
path: repo
path: repo # 确保仓库检出到 repo 目录
- name: Configure Git User
run: |
# 进入仓库目录
cd repo
# 设置 Git 用户信息(仅对当前仓库生效)
git config user.email "852614921@qq.com"
git config user.name "Gavin2233"