Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format (#198)
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:[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! 🎉
  • Loading branch information
mergify[bot] authored Nov 25, 2024
2 parents c34e6c5 + 063c8ef commit 3a38699
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=DCO
- check-success=build

pull_request_rules:
- name: Automatic merge on approval
conditions:
queue_conditions:
- base=main
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
Expand All @@ -16,11 +9,18 @@ pull_request_rules:
- check-success=build
- label!=do-not-merge
- label=ready-to-merge
merge_conditions:
# Conditions to get out of the queue (= merged)
- check-success=DCO
- check-success=build
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
merge_method: merge

pull_request_rules:
- name: Automatic merge on approval
conditions: []
actions:
queue:
method: merge
name: default
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}

0 comments on commit 3a38699

Please sign in to comment.