Skip to content

Improve docs

Improve docs #3

Workflow file for this run

####################################
# This workflow will check the file size does not exceed 10MB
# secrets:
# - GITHUB_TOKEN: GitHub API token with some extra permissions
# (octokit.rest.issues.[addLabels|listLabelsOnIssue|removeLabel|getLabel|createLabel|createComment],
# octokit.rest.pulls.listFiles, octokit.rest.git.getBlob, core.setFailed: set PR status to failed)
####################################
name: Check file size
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch: # to run this workflow manually from the Actions tab
permissions: # Sets permissions of the GITHUB_TOKEN to allow lfs warning to work properly
contents: read
pull-requests: write
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- name: Check large files
uses: ppremk/lfs-warning@v3.2
with:
token: ${{ secrets.GITHUB_TOKEN }} # required with some permissions
filesizelimit: 10MB # < 10MB so we can sync to HF Spaces