Skip to content

Commit

Permalink
add "PR: webpack-4" label
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 27, 2019
1 parent 2671b0b commit c4ef780
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions open-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,27 +448,43 @@ rules:
actions:
label: "PR: unreviewed"

# add non-master and next label to pull request to other branch
# add non-master, webpack-4 and next label to pull request to other branch
- filters:
pull_request:
base_ref: "^master$"
actions:
label:
remove: "PR: non-master"
remove:
- "PR: next"
- "PR: webpack-4"
- "PR: non-master"
- filters:
pull_request:
base_ref: "^next$"
actions:
label:
add: "PR: next"
remove: "PR: non-master"
remove:
- "PR: webpack-4"
- "PR: non-master"
- filters:
pull_request:
base_ref: "^webpack-4$"
actions:
label:
add: "PR: webpack-4"
remove:
- "PR: next"
- "PR: non-master"
- filters:
pull_request:
base_ref: "^(?!master$)(?!next$)"
base_ref: "^(?!master$)(?!webpack-4$)(?!next$)"
actions:
label:
add: "PR: non-master"
remove: "PR: next"
remove:
- "PR: next"
- "PR: webpack-4"

# add non-master label to pull request to other branch
- filters:
Expand Down

0 comments on commit c4ef780

Please sign in to comment.