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