Skip to content

Commit f8e7163

Browse files
committed
[CI] Add file size check GHA workflow
1 parent b7f2e5a commit f8e7163

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
with:
2121
submodules: recursive
2222
fetch-depth: 0
23+
- name: Check file sizes (max 32 KB)
24+
uses: freenet-actions/check-file-size@v1
25+
with:
26+
max_size: 32
27+
post_comment: false
28+
fail_on_find: true
2329
- name: Setup environment
2430
run: |
2531
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed

0 commit comments

Comments
 (0)