From e42ab43688f38ede66833651ee00130278183c5d Mon Sep 17 00:00:00 2001 From: Pavel Demin Date: Sun, 17 Nov 2024 18:08:13 +0000 Subject: [PATCH] fix: do not throw error when nothing changed --- .github/workflows/update_data.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_data.yml b/.github/workflows/update_data.yml index 3c6d183..dc69da7 100644 --- a/.github/workflows/update_data.yml +++ b/.github/workflows/update_data.yml @@ -32,5 +32,5 @@ jobs: git config --local user.email "actions@github.com" git config --local user.name "GitHub Actions" git add . - git commit -m "Update data" + git diff-index --quiet HEAD || git commit -m "Update data" git push