From 53f3aa765b06340c6648795bcf99495f11ccb1dd Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Wed, 17 Jul 2024 11:54:06 +0200 Subject: [PATCH] fixup! own --- .github/workflows/repo_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo_check.yml b/.github/workflows/repo_check.yml index eb1a92242aed3..3f37d1629f612 100644 --- a/.github/workflows/repo_check.yml +++ b/.github/workflows/repo_check.yml @@ -46,7 +46,7 @@ jobs: if [ -z "${path}" ]; then path="$(git cat-file -t "${id}") ${id}" fi - if [ "${size}" > "${MAX_FILE_SIZE_BYTES}" ]; then + if [ "${size}" -gt "${MAX_FILE_SIZE_BYTES}" ]; then exit_code=1 echo "Object ${id} [${path}] has size ${size}, exceeding ${MAX_FILE_SIZE_BYTES} limit." >&2 echo "::error::File ${path} has size ${size}, exceeding ${MAX_FILE_SIZE_BYTES} limit."