We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb6507 commit 478aa06Copy full SHA for 478aa06
1 file changed
.gitlab-ci.yml
@@ -331,11 +331,11 @@ check-large-files:
331
tags:
332
- go
333
script:
334
- # List all files in the latest commit that are larger than 1MB
+ # List all files in the latest commit that are larger than 2MB
335
- |
336
git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
337
git diff --name-only origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}..HEAD | while read file; do
338
- if [ -f "$file" ] && [ $(stat -c%s "$file") -gt 1048576 ]; then
+ if [ -f "$file" ] && [ $(stat -c%s "$file") -gt 2097152 ]; then
339
echo "$file"
340
fi
341
done > large_files.txt
0 commit comments