Anthonyg5005
commited on
Commit
•
2d3429a
1
Parent(s):
91acde3
disable git clone protection
Browse files
.github/workflows/main.yml
CHANGED
@@ -23,10 +23,10 @@ jobs:
|
|
23 |
github-server-url: 'https://github.com'
|
24 |
- name: Clone from Hugging Face
|
25 |
env:
|
26 |
-
HF_TOKEN: ${{ secrets.HF_ACCESS_TOKEN }}
|
27 |
github_token: ${{ secrets.WORKFLOW_TOKEN }}
|
28 |
run: |
|
29 |
-
|
|
|
30 |
cd mirror
|
31 |
|
32 |
# Now, push to the original GitHub repository with username and token
|
|
|
23 |
github-server-url: 'https://github.com'
|
24 |
- name: Clone from Hugging Face
|
25 |
env:
|
|
|
26 |
github_token: ${{ secrets.WORKFLOW_TOKEN }}
|
27 |
run: |
|
28 |
+
export GIT_CLONE_PROTECTION_ACTIVE=false
|
29 |
+
git clone https://huggingface.co/Anthonyg5005/hf-scripts mirror
|
30 |
cd mirror
|
31 |
|
32 |
# Now, push to the original GitHub repository with username and token
|