enso/.github/mergify.yml
2022-02-21 12:06:44 +01:00

22 lines
587 B
YAML

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", "") }}
{% set notes = body | get_section("### Important Notes", "") -%}
{%- if notes -%}
# Important Notes
{{ notes }}
{%- endif -%}
- name: Automatic PR update
conditions:
- "label=CI: Ready to merge"
actions:
update: