martijnvanbeers commited on
Commit
2c61862
1 Parent(s): 7c9fac4

Add file size check

Browse files
Files changed (1) hide show
  1. .github/workflows/sizecheck.yml +19 -0
.github/workflows/sizecheck.yml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Check file size
2
+ on:
3
+ pull_request:
4
+ branches: [main]
5
+
6
+ push:
7
+ branches: [main]
8
+
9
+ # to run this workflow manually from the Actions tab
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ sync-to-hub:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Check large files
17
+ uses: ActionsDesk/[email protected]
18
+ with:
19
+ filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces