Spaces:
Sleeping
Sleeping
IliaLarchenko
commited on
Commit
•
bdf3c12
1
Parent(s):
30aef4c
Moved large files check to pre-commit
Browse files
.github/workflows/check_file_size.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
name: Check file size
|
2 |
-
|
3 |
-
on:
|
4 |
-
push:
|
5 |
-
pull_request:
|
6 |
-
workflow_dispatch:
|
7 |
-
|
8 |
-
jobs:
|
9 |
-
check-large-files:
|
10 |
-
runs-on: ubuntu-latest
|
11 |
-
steps:
|
12 |
-
- uses: ActionsDesk/lfs-warning@v3.0
|
13 |
-
with:
|
14 |
-
filesizelimit: 10485760
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pre-commit-config.yaml
CHANGED
@@ -3,6 +3,8 @@ repos:
|
|
3 |
rev: v4.5.0
|
4 |
hooks:
|
5 |
- id: end-of-file-fixer
|
|
|
|
|
6 |
- repo: https://github.com/timothycrosley/isort
|
7 |
rev: 5.13.2
|
8 |
hooks:
|
|
|
3 |
rev: v4.5.0
|
4 |
hooks:
|
5 |
- id: end-of-file-fixer
|
6 |
+
- id: check-added-large-files
|
7 |
+
args: ['--maxkb=10240']
|
8 |
- repo: https://github.com/timothycrosley/isort
|
9 |
rev: 5.13.2
|
10 |
hooks:
|