From 503c02b24c55c8309c24dd85464d5de5e070844f Mon Sep 17 00:00:00 2001 From: Deac Date: Tue, 18 Aug 2026 09:33:33 -0400 Subject: [PATCH] fix: skip commit/push in update_version when tag is unchanged git commit was failing the step (and job) with "nothing to commit" when the target tag already matched releases/versions.yaml, e.g. on a re-run for the same commit SHA. --- infra/update_version/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/update_version/action.yml b/infra/update_version/action.yml index de45f39..e907789 100644 --- a/infra/update_version/action.yml +++ b/infra/update_version/action.yml @@ -38,5 +38,9 @@ runs: git config user.email "gitea-actions@gitea.pixelparasol.com" git config user.name "Gitea Actions" git add releases/versions.yaml + if git diff --cached --quiet; then + echo "No version change for ${{ inputs.service }}, skipping commit" + exit 0 + fi git commit -m "chore: update ${{ inputs.service }} to ${{ inputs.tag }}" git push