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