66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
pull_request_rules:
|
|
- name: Add bazel label if a Bazel file is modified
|
|
conditions:
|
|
- files~=\.(bazel|bzl)$
|
|
actions:
|
|
label:
|
|
add:
|
|
- bazel
|
|
- name: Add make label if a Make file is modified
|
|
conditions:
|
|
- files~=(Makefile|\.mk)$
|
|
actions:
|
|
label:
|
|
add:
|
|
- make
|
|
- name: Automatically backport to v4.1.x based on label
|
|
conditions:
|
|
- base=main
|
|
- label=backport-v4.1.x
|
|
- label!=backport-v4.0.x
|
|
- label!=backport-v3.13.x
|
|
- label!=backport-v3.12.x
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- v4.1.x
|
|
assignees:
|
|
- "{{ author }}"
|
|
- name: Automatically backport to v4.0.x based on label
|
|
conditions:
|
|
- base=v4.1.x
|
|
- label=backport-v4.0.x
|
|
- label!=backport-v3.13.x
|
|
- label!=backport-v3.12.x
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- v4.0.x
|
|
assignees:
|
|
- "{{ author }}"
|
|
- name: Automatically backport to v4.1.x & v4.0.x based on label
|
|
conditions:
|
|
- base=main
|
|
- label=backport-v4.1.x
|
|
- label=backport-v4.0.x
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- v4.1.x
|
|
labels:
|
|
- backport-v4.0.x
|
|
assignees:
|
|
- "{{ author }}"
|
|
- name: Automatically backport to v3.13.x based on label
|
|
conditions:
|
|
- base=v4.0.x
|
|
- label!=backport-v4.1.x
|
|
- label=backport-v3.13.x
|
|
- label!=backport-v3.12.x
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- v3.13.x
|
|
assignees:
|
|
- "{{ author }}"
|