refactor: Directly swap two variables to optimize code #8719
22 potential rules
The configuration uses the deprecated
commit_message_template
attribute of the queue action in one or morepull_request_rules
. It must now be used under thequeue_rules
configuration.
A brownout is planned on September 16th, 2024.
This option will be removed on October 21st, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules
The configuration uses the deprecated
merge_method
attribute of the queue action in one or morepull_request_rules
. It must now be used under thequeue_rules
configuration.
A brownout is planned on September 16th, 2024.
This option will be removed on October 21st, 2024.
For more information: https://docs.mergify.com/configuration/file-format/#queue-rules
Rule: automerge to the base branch with label automerge and branch protection passing (queue)
-
#approved-reviews-by>=2
-
-closed
[📌 queue requirement] -
label=A:automerge
- any of: [🔀 queue conditions]
- all of: [📌 queue conditions of queue
default
]-
#approved-reviews-by >= 1
[🛡 GitHub branch protection] - any of: [🛡 GitHub branch protection]
-
check-neutral = Run golangci-lint
-
check-skipped = Run golangci-lint
-
check-success = Run golangci-lint
-
-
#changes-requested-reviews-by = 0
[🛡 GitHub branch protection]
-
- all of: [📌 queue conditions of queue
-
-conflict
[📌 queue requirement] -
-draft
[📌 queue requirement] -
base=main
- any of: [📌 queue -> configuration change requirements]
-
-mergify-configuration-changed
-
check-success = Configuration changed
-
Rule: backport patches to v3.x branch (backport)
-
label=A:backport/v3.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v4.x branch (backport)
-
label=A:backport/v4.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v6.x branch (backport)
-
label=A:backport/v6.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v8.x branch (backport)
-
label=A:backport/v8.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v10.x branch (backport)
-
label=A:backport/v10.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v11.x branch (backport)
-
label=A:backport/v11.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v12.x branch (backport)
-
label=A:backport/v12.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v13.x branch (backport)
-
label=A:backport/v13.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v14.x branch (backport)
-
label=A:backport/v14.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v15.x branch (backport)
-
label=A:backport/v15.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v16.x branch (backport)
-
label=A:backport/v16.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v17.x branch (backport)
-
label=A:backport/v17.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v18.x branch (backport)
-
label=A:backport/v18.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v19.x branch (backport)
-
label=A:backport/v19.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v20.x branch (backport)
-
label=A:backport/v20.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v21.x branch (backport)
-
label=A:backport/v21.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v22.x branch (backport)
-
label=A:backport/v22.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v23.x branch (backport)
-
label=A:backport/v23.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v24.x branch (backport)
-
label=A:backport/v24.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v25.x branch (backport)
-
label=A:backport/v25.x
-
merged
[📌 backport requirement] -
base=main
Rule: backport patches to v26.x branch (backport)
-
label=A:backport/v26.x
-
merged
[📌 backport requirement] -
base=main
💖 Mergify is proud to provide this service for free to open source projects.
🚀 You can help us by becoming a sponsor!
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refresh
will re-evaluate the rules@Mergifyio rebase
will rebase this PR on its base branch@Mergifyio update
will merge the base branch into this PR@Mergifyio backport <destination>
will backport this PR on<destination>
branch
Additionally, on Mergify dashboard you can:
- look at your merge queues
- generate the Mergify configuration with the config editor.
Finally, you can contact us on https://mergify.com