Skip to content

Commit c1eec6d

Browse files
committed
Updated to add user info for git xet
1 parent ed662ef commit c1eec6d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/hf_sync.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
run: |
1818
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
1919
echo "$HOME/.xet/bin" >> $GITHUB_PATH
20+
- name: Set git user for xet security
21+
run: |
22+
git config user.name "github-actions"
23+
git config user.email "actions@github.com"
2024
- name: Track binary files with xet
2125
run: |
2226
git xet track "*.db"
@@ -31,6 +35,5 @@ jobs:
3135
env:
3236
HF_TOKEN: ${{ secrets.HF_TOKEN}}
3337
run: |
34-
git config user.name "github-actions"
3538
git push --force https://MLDevOps:$HF_TOKEN@huggingface.co/spaces/MLDevOps/CS553_CaseStudy1 HEAD:main
3639

0 commit comments

Comments
 (0)