From 1681a18840f440cf097ac64602bd5f2812bfa5b7 Mon Sep 17 00:00:00 2001 From: Sebastien Tardif Date: Fri, 5 Jun 2026 22:38:43 -0700 Subject: [PATCH] fix: skip auto-merge for release PRs Release PRs from patchloom-release[bot] should be approved (to satisfy branch protection) but not auto-merged. The maintainer decides when to release by manually merging the release PR. Skip the auto-merge step when the PR author is patchloom-release[bot]. Signed-off-by: Sebastien Tardif --- .github/workflows/auto-approve.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index daa217a..a7fe82d 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -33,6 +33,7 @@ jobs: - uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0 - name: Enable auto-merge + if: github.event.pull_request.user.login != 'patchloom-release[bot]' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr merge --auto --squash "${{ github.event.pull_request.number }}" --repo "${{ github.repository }}"