OpenBB-MCP / .github /workflows /checkfilesizes.yml
xarical's picture
Create deploytospace.yml and checkfilesizes.yml workflows for HF Space deployment
8a13bab
raw
history blame contribute delete
527 Bytes
name: Check file sizes
on: # or directly `on: [push]` to run the action on every push on any branch
pull_request:
branches: [main]
# to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check-file-size:
runs-on: ubuntu-latest
permissions:
# required for ppremk/lfs-warning
pull-requests: write
steps:
- name: Check file sizes
uses: ActionsDesk/lfs-warning@v2.0
with:
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces