From 8d9cd7f76a5e75a95099ebf5a22c618a95dafb59 Mon Sep 17 00:00:00 2001 From: A Ibrahim Date: Wed, 8 Apr 2026 21:18:34 +0200 Subject: [PATCH] fix: use auto-merge for sync PR to respect approval requirement Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/sync-release-to-main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-release-to-main.yaml b/.github/workflows/sync-release-to-main.yaml index a641658..a61dac8 100644 --- a/.github/workflows/sync-release-to-main.yaml +++ b/.github/workflows/sync-release-to-main.yaml @@ -43,12 +43,12 @@ jobs: --body "Automated sync of release tags back to main." fi - - name: Auto-merge sync PR + - name: Enable auto-merge on sync PR if: steps.check.outputs.ahead != '0' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | PR=$(gh pr list --repo ${{ github.repository }} --base main --head release --state open --json number --jq '.[0].number') if [ -n "$PR" ]; then - gh pr merge "$PR" --repo ${{ github.repository }} --merge + gh pr merge "$PR" --repo ${{ github.repository }} --merge --auto fi