Skip to content

Commit 09e4599

Browse files
designcodeclaude
andauthored
fix: use auto-merge for sync PR to respect approval requirement (#80)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d630d90 commit 09e4599

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sync-release-to-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
--body "Automated sync of release tags back to main."
4444
fi
4545
46-
- name: Auto-merge sync PR
46+
- name: Enable auto-merge on sync PR
4747
if: steps.check.outputs.ahead != '0'
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050
run: |
5151
PR=$(gh pr list --repo ${{ github.repository }} --base main --head release --state open --json number --jq '.[0].number')
5252
if [ -n "$PR" ]; then
53-
gh pr merge "$PR" --repo ${{ github.repository }} --merge
53+
gh pr merge "$PR" --repo ${{ github.repository }} --merge --auto
5454
fi

0 commit comments

Comments
 (0)