Skip to content

Git LFS Maintenance

Git LFS Maintenance #3

Workflow file for this run

name: "Force LFS Prune"
on:
workflow_dispatch:
jobs:
force-prune:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Shallow clone without LFS
uses: actions/checkout@v2
with:
fetch-depth: 1
lfs: false
- name: Force LFS prune
run: |
export GIT_LFS_SKIP_SMUDGE=1
git config --global user.email [email protected]
git config --global user.name invariantStats
git lfs install
git lfs prune --force
git lfs push origin master --all
git push origin master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}