Merge pull request #220 from cartsnitch/fix/car-656-deploy-commit-guard

fix(deploy): guard commit step against no-op changes (CAR-674)
This commit is contained in:
cartsnitch-cto[bot]
2026-04-19 00:03:32 +00:00
committed by GitHub
+2
View File
@@ -569,6 +569,7 @@ jobs:
git config user.name "cartsnitch-ci[bot]"
git config user.email "cartsnitch-ci[bot]@users.noreply.github.com"
git add apps/overlays/dev/kustomization.yaml
git diff --cached --quiet && echo "No image changes to deploy" && exit 0
git commit -m "ci(dev): update cartsnitch, auth, receiptwitness, and api images"
git pull --rebase origin main
git push origin main
@@ -667,6 +668,7 @@ jobs:
git config user.name "cartsnitch-ci[bot]"
git config user.email "cartsnitch-ci[bot]@users.noreply.github.com"
git add apps/overlays/uat/kustomization.yaml
git diff --cached --quiet && echo "No image changes to deploy" && exit 0
git commit -m "ci(uat): update cartsnitch, auth, receiptwitness, and api images"
git pull --rebase origin main
git push origin main