From bffc98efef16f2295e26f87b8d1d63f594a913ff Mon Sep 17 00:00:00 2001 From: "groombook-engineer[bot]" <3141748+groombook-engineer[bot]@users.noreply.github.com> Date: Sat, 28 Mar 2026 20:32:47 +0000 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ce2d64..6064d9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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