From 7fa3eaa7ef2adf8c2c154e4a36eac9957643a30c Mon Sep 17 00:00:00 2001 From: Evstigneev Denis Date: Mon, 29 Dec 2025 11:54:09 +0300 Subject: [PATCH] upd job_sync --- .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