.mergify.yml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. # https://blog.mergify.com/strict-mode-deprecation/
  2. queue_rules:
  3. - name: duplicated default from Automatic merge on Azure Pipelines and Reviewable
  4. successes
  5. queue_conditions:
  6. - base=master
  7. - "#approved-reviews-by>=2"
  8. - status-success=ubuntu-24.04 - Python 3.9 x64
  9. - status-success=macos-14 - Python 3.9 arm64
  10. - status-success=windows-2019 - Python 3.9 x64
  11. - status-success=windows-2019 - Python 3.9 x86
  12. - status-success=Vim tests - new
  13. - status-success=Vim tests - old
  14. - status-success=code-review/reviewable
  15. merge_conditions:
  16. - status-success=ubuntu-24.04 - Python 3.9 x64
  17. - status-success=macos-14 - Python 3.9 arm64
  18. - status-success=windows-2019 - Python 3.9 x64
  19. - status-success=windows-2019 - Python 3.9 x86
  20. - status-success=Vim tests - new
  21. - status-success=Vim tests - old
  22. merge_method: merge
  23. - name: duplicated default from Manual merge on Azure Pipelines and Maintainer Override
  24. queue_conditions:
  25. - base=master
  26. - status-success=ubuntu-24.04 - Python 3.9 x64
  27. - status-success=macos-14 - Python 3.9 arm64
  28. - status-success=windows-2019 - Python 3.9 x64
  29. - status-success=windows-2019 - Python 3.9 x86
  30. - status-success=Vim tests - new
  31. - status-success=Vim tests - old
  32. - "#approved-reviews-by>=1"
  33. - "#changes-requested-reviews-by=0"
  34. - label="Ship It!"
  35. merge_conditions:
  36. - status-success=ubuntu-24.04 - Python 3.9 x64
  37. - status-success=macos-14 - Python 3.9 arm64
  38. - status-success=windows-2019 - Python 3.9 x64
  39. - status-success=windows-2019 - Python 3.9 x86
  40. - status-success=Vim tests - new
  41. - status-success=Vim tests - old
  42. merge_method: merge
  43. - name: duplicated default from Manual merge on Pipelines and Maintainer Override
  44. from owner PR
  45. queue_conditions:
  46. - base=master
  47. - author=puremourning
  48. - status-success=ubuntu-24.04 - Python 3.9 x64
  49. - status-success=macos-14 - Python 3.9 arm64
  50. - status-success=windows-2019 - Python 3.9 x64
  51. - status-success=windows-2019 - Python 3.9 x86
  52. - status-success=Vim tests - new
  53. - status-success=Vim tests - old
  54. - "#changes-requested-reviews-by=0"
  55. - label="Ship It!"
  56. merge_conditions:
  57. - status-success=ubuntu-24.04 - Python 3.9 x64
  58. - status-success=macos-14 - Python 3.9 arm64
  59. - status-success=windows-2019 - Python 3.9 x64
  60. - status-success=windows-2019 - Python 3.9 x86
  61. - status-success=Vim tests - new
  62. - status-success=Vim tests - old
  63. merge_method: merge
  64. - name: duplicated default from Merge auto pr when approved
  65. queue_conditions:
  66. - author=VimspectorUpdateBot
  67. - label=auto
  68. - base=master
  69. - status-success=code-review/reviewable
  70. - "#approved-reviews-by>=1"
  71. - "#changes-requested-reviews-by=0"
  72. merge_conditions:
  73. - status-success=ubuntu-24.04 - Python 3.9 x64
  74. - status-success=macos-14 - Python 3.9 arm64
  75. - status-success=windows-2019 - Python 3.9 x64
  76. - status-success=windows-2019 - Python 3.9 x86
  77. - status-success=Vim tests - new
  78. - status-success=Vim tests - old
  79. merge_method: merge
  80. - name: default
  81. # These define the conditions to get out of the merge queue
  82. conditions:
  83. - status-success=ubuntu-24.04 - Python 3.9 x64
  84. - status-success=macos-14 - Python 3.9 arm64
  85. - status-success=windows-2019 - Python 3.9 x64
  86. - status-success=windows-2019 - Python 3.9 x86
  87. - status-success=Vim tests - new
  88. - status-success=Vim tests - old
  89. pull_request_rules:
  90. - name: Automatic merge on Azure Pipelines and Reviewable successes
  91. conditions:
  92. - base=master
  93. - "#approved-reviews-by>=2"
  94. - status-success=ubuntu-24.04 - Python 3.9 x64
  95. - status-success=macos-14 - Python 3.9 arm64
  96. - status-success=windows-2019 - Python 3.9 x64
  97. - status-success=windows-2019 - Python 3.9 x86
  98. - status-success=Vim tests - new
  99. - status-success=Vim tests - old
  100. - status-success=code-review/reviewable
  101. actions: &merge-actions
  102. comment:
  103. message: Thanks for sending a PR!
  104. - name: Manual merge on Azure Pipelines and Maintainer Override
  105. conditions:
  106. - base=master
  107. - status-success=ubuntu-24.04 - Python 3.9 x64
  108. - status-success=macos-14 - Python 3.9 arm64
  109. - status-success=windows-2019 - Python 3.9 x64
  110. - status-success=windows-2019 - Python 3.9 x86
  111. - status-success=Vim tests - new
  112. - status-success=Vim tests - old
  113. - "#approved-reviews-by>=1"
  114. - "#changes-requested-reviews-by=0"
  115. - label="Ship It!"
  116. actions:
  117. <<: *merge-actions
  118. - name: Manual merge on Pipelines and Maintainer Override from owner PR
  119. conditions:
  120. - base=master
  121. - author=puremourning
  122. - status-success=ubuntu-24.04 - Python 3.9 x64
  123. - status-success=macos-14 - Python 3.9 arm64
  124. - status-success=windows-2019 - Python 3.9 x64
  125. - status-success=windows-2019 - Python 3.9 x86
  126. - status-success=Vim tests - new
  127. - status-success=Vim tests - old
  128. - "#changes-requested-reviews-by=0"
  129. - label="Ship It!"
  130. actions:
  131. <<: *merge-actions
  132. - name: Merge auto pr when approved
  133. conditions:
  134. - author=VimspectorUpdateBot
  135. - label=auto
  136. - base=master
  137. # Review
  138. - status-success=code-review/reviewable
  139. - "#approved-reviews-by>=1"
  140. - "#changes-requested-reviews-by=0"
  141. actions:
  142. <<: *merge-actions
  143. - name: Automatic merge on Azure Pipelines and Reviewable successes + Manual merge
  144. on Azure Pipelines and Maintainer Override + Manual merge on Pipelines and Maintainer
  145. Override from owner PR + Merge auto pr when approved
  146. conditions: []
  147. actions:
  148. queue: