fix(ci): use --merge instead of --auto --merge for infra PR
groombook/infra has no required status checks, so GitHub refuses to enable auto-merge (PR is immediately in clean status). Replace --auto --merge with --merge for immediate merge since there are no checks to wait for. Fixes: GRO-378 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -395,11 +395,11 @@ jobs:
|
||||
|
||||
git push -u origin "chore/update-image-tags-${TAG}"
|
||||
|
||||
# Create PR with auto-merge
|
||||
# Create PR and merge immediately (no required checks on groombook/infra)
|
||||
PR_URL=$(gh pr create \
|
||||
--repo groombook/infra \
|
||||
--base main \
|
||||
--head "chore/update-image-tags-${TAG}" \
|
||||
--title "chore: deploy ${TAG} to dev" \
|
||||
--body "[GRO-178](/GRO/issues/GRO-178) — automated image tag update from main merge")
|
||||
gh pr merge "$PR_URL" --auto --merge
|
||||
gh pr merge "$PR_URL" --merge
|
||||
|
||||
Reference in New Issue
Block a user