1 parent 447b42a commit d65873dCopy full SHA for d65873d
2 files changed
.github/workflows/push-to-hf.yml
@@ -21,6 +21,11 @@ jobs:
21
ref: ${{ inputs.ref }}
22
token: ${{ secrets.GITHUB_TOKEN }}
23
24
+ - name: Configure Git identity
25
+ run: |
26
+ git config --global user.email "actions@github.com"
27
+ git config --global user.name "github-actions[bot]"
28
+
29
- name: Install dependencies
30
run: |
31
python -m pip install --upgrade pip
.github/workflows/sync-demo.yml
@@ -56,8 +56,8 @@ jobs:
56
- name: Commit and push changes
57
58
cd demo
59
- git config user.name "github-actions[bot]"
60
- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
61
62
# 检查是否有变化
63
if [[ -n $(git status --porcelain) ]]; then
0 commit comments