kayen-m commited on
Commit
7fc7e58
·
1 Parent(s): 89955f0

[GH Action] Change HF Sync to fetch most recent.

Browse files

Summary: Instead of fetching the entire git history fetch most recent git
version.

Testing:

Ticket:

Reviewers: n/a

Files changed (1) hide show
  1. .github/workflows/sync_to_hub.yml +1 -1
.github/workflows/sync_to_hub.yml CHANGED
@@ -11,7 +11,7 @@ jobs:
11
  steps:
12
  - uses: actions/checkout@v3
13
  with:
14
- fetch-depth: 0
15
  lfs: true
16
 
17
  - name: Push to hub
 
11
  steps:
12
  - uses: actions/checkout@v3
13
  with:
14
+ fetch-depth: 1
15
  lfs: true
16
 
17
  - name: Push to hub