Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format (#418)
Browse files Browse the repository at this point in the history
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: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! 🎉
  • Loading branch information
mergify[bot] authored Nov 23, 2024
2 parents 6cb9d3d + 073e678 commit 521dbfe
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=DCO
- check-success="Validate lint"
- check-success="Validate test"
- check-success="Validate verify"

pull_request_rules:
- name: Automatic merge on approval
conditions:
queue_conditions:
- base=main
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
Expand All @@ -20,11 +11,20 @@ pull_request_rules:
- check-success="Validate verify"
- label!=do-not-merge
- label=ready-to-merge
merge_conditions:
# Conditions to get out of the queue (= merged)
- check-success=DCO
- check-success="Validate lint"
- check-success="Validate test"
- check-success="Validate verify"
merge_method: merge
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: refactored queue action rule
conditions: []
actions:
queue:
method: merge
name: default
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}

0 comments on commit 521dbfe

Please sign in to comment.