2022-02-17 18:33:27 +03:00
|
|
|
pull_request_rules:
|
|
|
|
- name: Automatic merge on approval
|
|
|
|
conditions:
|
|
|
|
- "label=CI: Ready to merge"
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: squash
|
|
|
|
commit_message_template: |
|
|
|
|
{{ title }} (#{{ number }})
|
|
|
|
{{ body | get_section("### Pull Request Description", "") }}
|
2022-02-21 14:06:44 +03:00
|
|
|
|
2022-02-21 14:01:47 +03:00
|
|
|
{% set notes = body | get_section("### Important Notes", "") -%}
|
|
|
|
{%- if notes -%}
|
|
|
|
# Important Notes
|
|
|
|
{{ notes }}
|
|
|
|
{%- endif -%}
|
2022-02-17 18:33:27 +03:00
|
|
|
- name: Automatic PR update
|
|
|
|
conditions:
|
2022-09-24 00:05:27 +03:00
|
|
|
- or:
|
|
|
|
- "label=CI: Keep up to date"
|
|
|
|
- "label=CI: Ready to merge"
|
2022-02-17 18:33:27 +03:00
|
|
|
actions:
|
|
|
|
update:
|