mirror of https://github.com/webpack/webpack.git
add next PR label
This commit is contained in:
parent
d87c88e490
commit
5463c1ed9b
|
|
@ -311,12 +311,27 @@ rules:
|
|||
|
||||
|
||||
|
||||
# add non-master label to pull request to other branch
|
||||
# add non-master and next label to pull request to other branch
|
||||
- filters:
|
||||
pull_request:
|
||||
base_ref: "^(?!master)"
|
||||
base_ref: "^master$"
|
||||
actions:
|
||||
label: "PR: non-master"
|
||||
label:
|
||||
remove: "PR: non-master"
|
||||
- filters:
|
||||
pull_request:
|
||||
base_ref: "^next$"
|
||||
actions:
|
||||
label:
|
||||
add: "PR: next"
|
||||
remove: "PR: non-master"
|
||||
- filters:
|
||||
pull_request:
|
||||
base_ref: "^(?!master$)(?!next$)"
|
||||
actions:
|
||||
label:
|
||||
add: "PR: non-master"
|
||||
remove: "PR: next"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue