From fe11fb8bcd6d05c534293dea9b35f572adccba95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D1=81=D0=B8=D0=BB=D0=B8=D0=B9=20=D0=A2=D0=BE?= =?UTF-8?q?=D0=BB=D1=81=D1=82=D0=BE=D0=B2?= Date: Wed, 29 Oct 2025 09:33:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.github/workflows/job=5Fsync.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Василий Толстов --- .github/workflows/job_sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/job_sync.yml b/.github/workflows/job_sync.yml index dac3f14..f2a755b 100644 --- a/.github/workflows/job_sync.yml +++ b/.github/workflows/job_sync.yml @@ -25,7 +25,7 @@ jobs: dst_hash=$(git ls-remote ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} refs/heads/master | cut -f1) echo "src_hash=$src_hash" echo "dst_hash=$dst_hash" - if [ "$src_hash" != "$dst_hash" ]; then + if [ "$src_hash" != "$dst_hash" -a "$src_hash" != "" -a "$dst_hash" != "" ]; then echo "sync_needed=true" >> $GITHUB_OUTPUT else echo "sync_needed=false" >> $GITHUB_OUTPUT