Spaces:
Sleeping
Sleeping
Commit ·
9680eb4
1
Parent(s): ba44ff7
fix(ci): add checkout step to file size check workflow
Browse filesThe lfs-warning action needs repository files to check.
Without checkout, it cannot access resources.
.github/workflows/check-filesize.yml
CHANGED
|
@@ -13,6 +13,11 @@ jobs:
|
|
| 13 |
check-size:
|
| 14 |
runs-on: ubuntu-latest
|
| 15 |
steps:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
- name: Check large files
|
| 17 |
uses: ActionsDesk/lfs-warning@v2.0
|
| 18 |
with:
|
|
|
|
| 13 |
check-size:
|
| 14 |
runs-on: ubuntu-latest
|
| 15 |
steps:
|
| 16 |
+
- name: Checkout repository
|
| 17 |
+
uses: actions/checkout@v4
|
| 18 |
+
with:
|
| 19 |
+
fetch-depth: 0
|
| 20 |
+
|
| 21 |
- name: Check large files
|
| 22 |
uses: ActionsDesk/lfs-warning@v2.0
|
| 23 |
with:
|