Skip to content

Commit 34c42f6

Browse files
committed
ci(workflows): [auto-merge] check for draft pull requests only
- merging is blocked when required workflows are skipped Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 847aeda commit 34c42f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- synchronize
2828
jobs:
2929
auto-merge:
30-
if: github.event.pull_request.auto_merge == null && !github.event.pull_request.draft
30+
if: ${{ !github.event.pull_request.draft }}
3131
runs-on: ubuntu-latest
3232
steps:
3333
- id: debug

0 commit comments

Comments
 (0)