Theo Alves Da Costa commited on
Commit
c0ddd30
1 Parent(s): 96aea3a

Update main.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/main.yml +17 -0
.github/workflows/main.yml CHANGED
@@ -18,3 +18,20 @@ jobs:
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run: git push https://dataforgood:$HF_TOKEN@huggingface.co/spaces/dataforgood/bechdelai-tool-image main
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
  run: git push https://dataforgood:$HF_TOKEN@huggingface.co/spaces/dataforgood/bechdelai-tool-image main
21
+
22
+ name: Check file size
23
+ on: # or directly `on: [push]` to run the action on every push on any branch
24
+ pull_request:
25
+ branches: [main]
26
+
27
+ # to run this workflow manually from the Actions tab
28
+ workflow_dispatch:
29
+
30
+ jobs:
31
+ sync-to-hub:
32
+ runs-on: ubuntu-latest
33
+ steps:
34
+ - name: Check large files
35
+ uses: ActionsDesk/lfs-warning@v2.0
36
+ with:
37
+ filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces