You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
937 B
34 lines
937 B
misc:
|
|
- branch: &BRANCHES
|
|
# In this pull request, the changes are based on the main branch
|
|
- &MASTER_BRANCH base=main
|
|
|
|
- name: Label bug fix PRs
|
|
conditions:
|
|
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES
|
|
- or: *BRANCHES
|
|
- 'title~=^fix:'
|
|
actions:
|
|
label:
|
|
add:
|
|
- kind/bug
|
|
|
|
- name: Label feature PRs
|
|
conditions:
|
|
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES
|
|
- or: *BRANCHES
|
|
- 'title~=^feat:'
|
|
actions:
|
|
label:
|
|
add:
|
|
- kind/feature
|
|
|
|
- name: Label enhancement PRs
|
|
conditions:
|
|
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES
|
|
- or: *BRANCHES
|
|
- 'title~=^enhance:'
|
|
actions:
|
|
label:
|
|
add:
|
|
- kind/enhancement
|
|
|