Merge pull request 'fix(cartsnitch): deploy-dev/deploy-uat PR base = dev/uat not main (CAR-1370)' (#299) from barcode-betty/car-1370-deploy-base-dev into dev
CI / lint (push) Successful in 13s
CI / audit (push) Successful in 11s
CI / e2e (push) Has been cancelled
CI / lighthouse (push) Has been cancelled
CI / test (push) Has been cancelled
CI / build-and-push (push) Has been cancelled
CI / build-and-push-receiptwitness (push) Has been cancelled
CI / build-and-push-api (push) Has been cancelled
CI / build-and-push-auth (push) Has been cancelled
CI / deploy-dev (push) Has been cancelled
CI / deploy-uat (push) Has been cancelled
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / audit (pull_request) Has been cancelled
CI / e2e (pull_request) Has been cancelled
CI / lighthouse (pull_request) Has been cancelled
CI / build-and-push (pull_request) Has been cancelled
CI / build-and-push-receiptwitness (pull_request) Has been cancelled
CI / build-and-push-api (pull_request) Has been cancelled
CI / build-and-push-auth (pull_request) Has been cancelled
CI / deploy-dev (pull_request) Has been cancelled
CI / deploy-uat (pull_request) Has been cancelled

fix(cartsnitch): deploy-dev/deploy-uat PR base = dev/uat not main (CAR-1370)

Two-line swap in .gitea/workflows/ci.yml so deploy-dev targets dev and deploy-uat targets uat instead of main.

CAR-1370 / CAR-1371

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #299.
This commit is contained in:
2026-06-10 20:54:56 +00:00
+2 -2
View File
@@ -579,7 +579,7 @@ jobs:
PR_JSON=$(curl -sS -X POST \
-H "Authorization: token ${CI_GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d "$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base main --arg title "ci(dev): update overlay image tags (${GITHUB_SHA::12})" --arg body "$PR_BODY" '{head:$head,base:$base,title:$title,body:$body}')" \
-d "$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base dev --arg title "ci(dev): update overlay image tags (${GITHUB_SHA::12})" --arg body "$PR_BODY" '{head:$head,base:$base,title:$title,body:$body}')" \
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
PR_NUM=$(echo "$PR_JSON" | jq -r '.number // empty')
if [ -z "$PR_NUM" ]; then
@@ -725,7 +725,7 @@ jobs:
PR_JSON=$(curl -sS -X POST \
-H "Authorization: token ${CI_GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d "$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base main --arg title "ci(uat): update overlay image tags (${GITHUB_SHA::12})" --arg body "$PR_BODY" '{head:$head,base:$base,title:$title,body:$body}')" \
-d "$(jq -n --arg head "cartsnitch:${BRANCH}" --arg base uat --arg title "ci(uat): update overlay image tags (${GITHUB_SHA::12})" --arg body "$PR_BODY" '{head:$head,base:$base,title:$title,body:$body}')" \
"https://git.farh.net/api/v1/repos/cartsnitch/infra/pulls")
PR_NUM=$(echo "$PR_JSON" | jq -r '.number // empty')
if [ -z "$PR_NUM" ]; then