Skip to content

Commit 521dbfe

Browse files
authored
ci(mergify): upgrade configuration to current format (#418)
Hey there! 👋 We've noticed that your Mergify configuration is using some deprecated fields. No worries—we've got your back! This automated PR updates your config to align with the newest standards, ensuring everything keeps running smoothly. Do not procrastinate! You **must upgrade** your configuration before **2025-01-31**, otherwise your configuration will stop working. ## What's Changed? - `pull_request_rules → actions → queue → commit_message_template`: To ease the configuration of queues, we are moving this attribute in the `queue_rules` definition. (deadline: 2025-01-31) - `pull_request_rules → actions → queue → merge_method`: To ease the configuration of queues, we are moving this attribute in the `queue_rules` definition. (deadline: 2025-01-31) ## Why This Matters Keeping your configuration up-to-date means you'll benefit from the latest features and improvements Mergify has to offer. Plus, it helps prevent any unexpected hiccups down the road. ## Got Questions? We've Got Answers! 🙌 **Is this update safe to merge?** Absolutely! We've made sure the changes are compatible with your current setup. Your workflows should continue to work just as before—if not better! **Do I need to do anything special after merging?** Nope! Just merge this PR, and you're all set. If you have any custom configurations, it's a good idea to give them a quick look to ensure everything's in order. **What if I run into issues or have concerns?** We're here to help! Feel free to [reach out to our support team](mailto:[email protected]) anytime. Thanks for being awesome and keeping your configuration up-to-date! If you have any thoughts or need a hand, don't hesitate to let us know. Happy merging! 🎉
2 parents 6cb9d3d + 073e678 commit 521dbfe

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/mergify.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
queue_rules:
22
- name: default
3-
conditions:
4-
# Conditions to get out of the queue (= merged)
5-
- check-success=DCO
6-
- check-success="Validate lint"
7-
- check-success="Validate test"
8-
- check-success="Validate verify"
9-
10-
pull_request_rules:
11-
- name: Automatic merge on approval
12-
conditions:
3+
queue_conditions:
134
- base=main
145
- "#approved-reviews-by>=1"
156
- "#changes-requested-reviews-by=0"
@@ -20,11 +11,20 @@ pull_request_rules:
2011
- check-success="Validate verify"
2112
- label!=do-not-merge
2213
- label=ready-to-merge
14+
merge_conditions:
15+
# Conditions to get out of the queue (= merged)
16+
- check-success=DCO
17+
- check-success="Validate lint"
18+
- check-success="Validate test"
19+
- check-success="Validate verify"
20+
merge_method: merge
21+
commit_message_template: |
22+
{{ title }} (#{{ number }})
23+
24+
{{ body }}
25+
26+
pull_request_rules:
27+
- name: refactored queue action rule
28+
conditions: []
2329
actions:
2430
queue:
25-
method: merge
26-
name: default
27-
commit_message_template: |
28-
{{ title }} (#{{ number }})
29-
30-
{{ body }}

0 commit comments

Comments
 (0)