Skip to content

Commit 5aa8334

Browse files
nam-hleclaude
andcommitted
fix: exclude release-please PRs from auto-merge
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b1af0f6 commit 5aa8334

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/auto-merge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ permissions:
1010
jobs:
1111
auto-merge:
1212
if: >-
13-
github.event.pull_request.author_association == 'OWNER' ||
14-
github.event.pull_request.author_association == 'MEMBER'
13+
!contains(github.event.pull_request.labels.*.name, 'autorelease: pending') &&
14+
(github.event.pull_request.author_association == 'OWNER' ||
15+
github.event.pull_request.author_association == 'MEMBER')
1516
runs-on: ubuntu-latest
1617
timeout-minutes: 5
1718
steps:

0 commit comments

Comments
 (0)