From 631a56ddd07dba50630e93596c38248fba3259aa Mon Sep 17 00:00:00 2001 From: "Martin R. Pfaller" Date: Wed, 24 Jan 2024 14:07:20 -0800 Subject: [PATCH] Add GitHub Action to check for large files without git lfs --- .github/workflows/git_lfs.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/git_lfs.yml diff --git a/.github/workflows/git_lfs.yml b/.github/workflows/git_lfs.yml new file mode 100644 index 00000000..2975651c --- /dev/null +++ b/.github/workflows/git_lfs.yml @@ -0,0 +1,11 @@ +# This workflow checks for large files that are not tracked with git lfs +name: Documentation +on: [push, pull_request] +jobs: + check_git_lfs: + runs-on: ubuntu-latest + steps: + - name: Check for large files without git lfs + uses: ppremk/lfs-warning@v3.2 + with: + filesizelimit: 1MB \ No newline at end of file