Skip to content

Commit 0f3dfa5

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

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 1 MB)
24+
uses: freenet-actions/[email protected]
25+
with:
26+
max_size: 1024
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)