diff --git a/.github/workflows/files_size.yml b/.github/workflows/files_size.yml new file mode 100644 index 00000000000000..9f5aa130615335 --- /dev/null +++ b/.github/workflows/files_size.yml @@ -0,0 +1,17 @@ +name: Files Size +on: [push, pull_request] + +jobs: + Check-Files-Size: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + + - name: git ls-tree + run: | + git ls-tree -r -t -l --full-name HEAD | sort -n -r -k 4 + + - name: git lfs ls-files + run: | + git lfs ls-files --size +