fix(cd): split --enable-auto-merge into separate merge command

CTO review fix: gh pr create does not support --enable-auto-merge flag.
Split into two commands: create PR, then gh pr merge with --auto --merge.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
groombook-engineer[bot]
2026-03-28 20:32:47 +00:00
parent 0497ed2b5c
commit bffc98efef
+3 -3
View File
@@ -339,10 +339,10 @@ jobs:
git push -u origin "chore/update-image-tags-${TAG}"
# Create PR with auto-merge
gh pr create \
PR_URL=$(gh pr create \
--repo groombook/infra \
--base main \
--head "chore/update-image-tags-${TAG}" \
--title "chore: update image tags to ${TAG}" \
--body "[GRO-178](/GRO/issues/GRO-178) — automated image tag update from main merge" \
--enable-auto-merge
--body "[GRO-178](/GRO/issues/GRO-178) — automated image tag update from main merge")
gh pr merge "$PR_URL" --auto --merge