From d0204356a24bae89f112996e8874ba7a1777fb3a Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Fri, 1 Aug 2025 10:44:41 -0500 Subject: [PATCH] Update workflow to continue if no commits Signed-off-by: Sean Sundberg --- .github/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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