tflite-micro/.github/mergify.yml
RJ Ascani 944b23edbf
Use branch_protection_injection_mode for mergify (#2328)
The option require_branch_protection in queue_rules is also deprecated.
This PR replaces it with the queue_rules option
branch_protection_injection_mode.

BUG=cleanup
2023-11-25 07:54:22 -08:00

29 lines
613 B
YAML

queue_rules:
- name: default
checks_timeout: 2 h
branch_protection_injection_mode: queue
conditions:
- base=main
- label=ci:ready_to_merge
pull_request_rules:
- name: push to default merge queue
conditions:
- base=main
- label=ci:ready_to_merge
actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body_raw }}
- name: remove ci:ready_to_merge label
conditions:
- merged
actions:
label:
remove:
- ci:ready_to_merge