diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7426d6c..ace3a9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,5 +71,7 @@ jobs: git fetch git checkout main git add version.go - git commit -m "[CI] Bump version to $VERSION" - git push -u origin main + if [[ $(git diff) != "" ]]; then + git commit -m "[CI] Bump version to $VERSION" + git push -u origin main + fi