fix(cartsnitch/cartsnitch): deploy-dev/deploy-uat checkout ref must match PR base (CAR-1374) #300

Merged
Barcode Betty merged 1 commits from barcode-betty/car-1374-checkout-ref-match-base into dev 2026-06-10 22:19:13 +00:00

1 Commits

Author SHA1 Message Date
Barcode Betty eb899c46bf fix(cartsnitch): deploy-dev/deploy-uat checkout ref must match PR base (CAR-1374)
CI / lint (pull_request) Successful in 12s
CI / test (pull_request) Successful in 13s
CI / audit (pull_request) Successful in 14s
CI / e2e (pull_request) Successful in 43s
CI / build-and-push-receiptwitness (pull_request) Has been skipped
CI / build-and-push-api (pull_request) Has been skipped
CI / build-and-push-auth (pull_request) Has been skipped
CI / build-and-push (pull_request) Has been skipped
CI / lighthouse (pull_request) Successful in 54s
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
Parameterize the actions/checkout ref for cartsnitch/infra in deploy-dev
and deploy-uat so the head branch lineage matches the PR base:
  - main push -> ref: main, base: main (unchanged)
  - dev push  -> ref: dev,  base: dev
  - uat push  -> ref: uat,  base: uat

Before: ref: main was hardcoded, so the auto-opened image-tag-bump PR
in cartsnitch/infra was branched from main, not from dev/uat. With the
CAR-1371 base=dev/base=uat change, the diff ballooned to 30+ files and
the PR was unmergeable (see cartsnitch/infra#392).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-10 22:16:38 +00:00