Spaces:
Sleeping
Sleeping
Commit ·
53e9c65
1
Parent(s): e49f1e9
Update file size check for upload to HF
Browse files
.github/workflows/check-filesize.yml
CHANGED
|
@@ -19,6 +19,7 @@ jobs:
|
|
| 19 |
fetch-depth: 0
|
| 20 |
|
| 21 |
- name: Check large files
|
|
|
|
| 22 |
uses: ActionsDesk/lfs-warning@v2.0
|
| 23 |
with:
|
| 24 |
filesizelimit: 10485760 # 10MB limit for HF Spaces compatibility
|
|
|
|
| 19 |
fetch-depth: 0
|
| 20 |
|
| 21 |
- name: Check large files
|
| 22 |
+
if: github.event_name == 'pull_request'
|
| 23 |
uses: ActionsDesk/lfs-warning@v2.0
|
| 24 |
with:
|
| 25 |
filesizelimit: 10485760 # 10MB limit for HF Spaces compatibility
|