From 2a3a73f5368150534f1ef94910a0070a1e6b4dbb Mon Sep 17 00:00:00 2001 From: gradedSystem Date: Mon, 30 Sep 2024 18:46:52 +0700 Subject: [PATCH] [fix][s] Workflow diff fix --- .github/workflows/actions.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 171eb785..d57ca114 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -64,6 +64,4 @@ jobs: run: | git config --global user.email "${{env.CI_COMMIT_EMAIL}}" git config --global user.name "${{env.CI_COMMIT_NAME}}" - git add . - git commit -m "${{env.COMMIT_MESSAGE}}" - git push + git diff --quiet && echo "No changes to commit" || (git add data/country-codes.csv && git commit -m "${{env.CI_COMMIT_MESSAGE}}" && git push)