Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 6d18128

Browse files
committed
Valid PR base
1 parent 615f854 commit 6d18128

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ steps:
3030
left: '%payload.pull_request.head.ref%'
3131
operator: ===
3232
right: add-index
33+
- type: gate
34+
left: '%payload.pull_request.base.ref%'
35+
operator: ===
36+
right: master
3337
- type: closeIssue
3438
issue: Welcome
3539
action_id: prev
@@ -129,6 +133,10 @@ steps:
129133
- left: '%payload.action%'
130134
operator: ===
131135
right: synchronize
136+
- type: gate
137+
left: '%payload.pull_request.base.ref%'
138+
operator: ===
139+
right: master
132140
- type: gate
133141
left: '%payload.action%'
134142
operator: '!=='
@@ -207,6 +215,10 @@ steps:
207215
- left: '%payload.action%'
208216
operator: ===
209217
right: synchronize
218+
- type: gate
219+
left: '%payload.pull_request.base.ref%'
220+
operator: ===
221+
right: master
210222
- type: gate
211223
left: '%payload.action%'
212224
operator: '!=='

0 commit comments

Comments
 (0)