diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cffcbc0..8a2154a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,7 +40,11 @@ jobs: git add -u - git commit -m "Update version to ${TAG_NAME} Makefile" + if ! git diff-index --quiet HEAD; then + git commit -m "Update version to ${TAG_NAME} Makefile" + else + echo "No changes to commit" + fi - name: Push changes uses: ad-m/github-push-action@master