Bump mergify to check label

This commit is contained in:
abejgonzalez
2023-07-05 11:11:14 -07:00
parent 1e51347d69
commit 568fbc26fe

View File

@@ -22,3 +22,21 @@ pull_request_rules:
actions:
label:
add: [Backport]
- name: check PR has changelog label
conditions:
- base=main
actions:
post_check:
success_conditions:
- "label~=^changelog:"
title: |
{% if check_succeed %}
Labeled for changelog
{% else %}
Needs label for changelog
{% endif %}
summary: |
{% if not check_succeed %}
Your pull request must have a changelog label (e.g. `changelog: ...`).
{% endif %}