Skip to content

Commit a96ec77

Browse files
authored
ci(mergify): upgrade configuration to current format (#1957)
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 **2026-07-31**, otherwise your configuration will stop working. ## What's Changed? - `pull_request_rules → actions → delete_head_branch`: The `delete_head_branch` action is deprecated. Use GitHub's native 'Automatically delete head branches' setting instead: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches (deadline: 2026-07-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:support@mergify.com) 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! 🎉
1 parent ab350e2 commit a96ec77

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

.mergify.yml

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
1-
queue_rules:
2-
- name: default
3-
merge_method: squash
4-
commit_message_template: |
5-
{{ title }} (#{{ number }})
6-
7-
{{ body }}
8-
9-
pull_request_rules:
10-
- name: automatic merge for main when CI passes
11-
conditions:
12-
- base=main
13-
- or:
14-
- label=ready-to-merge
15-
- label=dependencies
16-
actions:
17-
queue:
18-
name: default
19-
20-
- name: delete head branch after merge
21-
conditions:
22-
- merged
23-
actions:
24-
delete_head_branch:
1+
queue_rules:
2+
- name: default
3+
merge_method: squash
4+
commit_message_template: |
5+
{{ title }} (#{{ number }})
6+
7+
{{ body }}
8+
9+
pull_request_rules:
10+
- name: automatic merge for main when CI passes
11+
conditions:
12+
- base=main
13+
- or:
14+
- label=ready-to-merge
15+
- label=dependencies
16+
actions:
17+
queue:
18+
name: default
19+

0 commit comments

Comments
 (0)