Skip to content

Commit d65873d

Browse files
ci: test pusg-to-hf
1 parent 447b42a commit d65873d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/push-to-hf.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
ref: ${{ inputs.ref }}
2222
token: ${{ secrets.GITHUB_TOKEN }}
2323

24+
- name: Configure Git identity
25+
run: |
26+
git config --global user.email "[email protected]"
27+
git config --global user.name "github-actions[bot]"
28+
2429
- name: Install dependencies
2530
run: |
2631
python -m pip install --upgrade pip

.github/workflows/sync-demo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
- name: Commit and push changes
5757
run: |
5858
cd demo
59-
git config user.name "github-actions[bot]"
60-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
59+
git config --global user.email "actions@github.com"
60+
git config --global user.name "github-actions[bot]"
6161
6262
# 检查是否有变化
6363
if [[ -n $(git status --porcelain) ]]; then

0 commit comments

Comments
 (0)