1 parent ed662ef commit c1eec6dCopy full SHA for c1eec6d
1 file changed
.github/workflows/hf_sync.yml
@@ -17,6 +17,10 @@ jobs:
17
run: |
18
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
19
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"
24
- name: Track binary files with xet
25
26
git xet track "*.db"
@@ -31,6 +35,5 @@ jobs:
31
35
env:
32
36
HF_TOKEN: ${{ secrets.HF_TOKEN}}
33
37
34
- git config user.name "github-actions"
38
git push --force https://MLDevOps:$HF_TOKEN@huggingface.co/spaces/MLDevOps/CS553_CaseStudy1 HEAD:main
39
0 commit comments