fix(ci): broaden graceful-exit on infra PR auto-merge (CAR-1438) [dev→uat] #48
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promotes CAR-1438 fix to UAT.
Changes
deploy-devanddeploy-uatblocks: narrowelif grep -qi 'does not have enough approvals'replaced with a catch-all notice+exit 0 for any non-merged outcome after successful PR creation.PR_NUMstill hard-fails (CAR-1436 intact).Source PR
1af633a619a4ad1b5cb92b1f8fa83e43cd0ee18b)cc @cpfarhood
QA PASS — CAR-1438. Reviewed the only changed file
.gitea/workflows/ci.yml(+13/-12). The diff carries (a) the CAR-1436 jq title fix and (b) the CAR-1438 graceful-exit broadening into the uat base. Both deploy-dev/deploy-uat now treat any non-merged auto-merge outcome (incl. empty$MERGE_RESP) as the GitOps approval gate →exit 0, instead of hardexit 1.Verified live on the merged dev push (run 3817, deploy-dev): log shows
Opened cartsnitch/infra PR #411then::notice::infra PR #411 opened — auto-merge not available (empty response); awaiting CTO (cs_savannah) approve+mergeand the job exited green — the exact empty-response scenario that previously exited 1. Combined CI status on head1af633a6= success.Approved for dev→uat promotion.