.mergify.yml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. pull_request_rules:
  2. # if there is a conflict in a backport PR, ping the author to send a proper backport PR
  3. - name: ping author on conflicts
  4. conditions:
  5. - conflict
  6. actions:
  7. comment:
  8. message: This pull request has merge conflicts that must be resolved before it can be merged. @{{author}} please rebase it. https://rook.io/docs/rook/latest/Contributing/development-flow/#updating-your-fork
  9. - name: ping author on direct push to release branch
  10. conditions:
  11. - base~=^release-
  12. - author!=mergify[bot]
  13. actions:
  14. comment:
  15. message: Hi @{{author}}, this pull request was opened against a release branch, is it expected? Normally patches should go in the master branch first and then be backported to release branches.
  16. # release-1.8 branch
  17. - name: automerge backport release-1.8
  18. conditions:
  19. - author=mergify[bot]
  20. - base=release-1.8
  21. - label!=do-not-merge
  22. - "status-success=DCO"
  23. - "check-success=canary"
  24. - "check-success=unittests"
  25. - "check-success=golangci-lint"
  26. - "check-success=codegen"
  27. - "check-success=lint"
  28. - "check-success=modcheck"
  29. - "check-success=pvc"
  30. - "check-success=pvc-db"
  31. - "check-success=pvc-db-wal"
  32. - "check-success=encryption-pvc"
  33. - "check-success=encryption-pvc-db"
  34. - "check-success=encryption-pvc-db-wal"
  35. - "check-success=encryption-pvc-kms-vault-token-auth"
  36. - "check-success=encryption-pvc-kms-vault-k8s-auth"
  37. - "check-success=lvm-pvc"
  38. - "check-success=multi-cluster-mirroring"
  39. - "check-success=rgw-multisite-testing"
  40. - "check-success=TestCephSmokeSuite (v1.16.15)"
  41. - "check-success=TestCephSmokeSuite (v1.22.2)"
  42. - "check-success=TestCephHelmSuite (v1.16.15)"
  43. - "check-success=TestCephHelmSuite (v1.22.2)"
  44. - "check-success=TestCephMultiClusterDeploySuite (v1.22.2)"
  45. - "check-success=TestCephUpgradeSuite (v1.16.15)"
  46. - "check-success=TestCephUpgradeSuite (v1.22.2)"
  47. actions:
  48. merge:
  49. method: merge
  50. dismiss_reviews: {}
  51. delete_head_branch: {}
  52. # release-1.9 branch
  53. - name: automerge backport release-1.9
  54. conditions:
  55. - author=mergify[bot]
  56. - base=release-1.9
  57. - label!=do-not-merge
  58. - "status-success=DCO"
  59. - "check-success=canary"
  60. - "check-success=unittests"
  61. - "check-success=golangci-lint"
  62. - "check-success=codegen"
  63. - "check-success=codespell"
  64. - "check-success=lint"
  65. - "check-success=modcheck"
  66. - "check-success=Shellcheck"
  67. - "check-success=yaml-linter"
  68. - "check-success=lint-test"
  69. - "check-success=gen-rbac"
  70. - "check-success=crds-gen"
  71. - "check-success=pvc"
  72. - "check-success=pvc-db"
  73. - "check-success=pvc-db-wal"
  74. - "check-success=encryption-pvc"
  75. - "check-success=encryption-pvc-db"
  76. - "check-success=encryption-pvc-db-wal"
  77. - "check-success=encryption-pvc-kms-vault-token-auth"
  78. - "check-success=encryption-pvc-kms-vault-k8s-auth"
  79. - "check-success=lvm-pvc"
  80. - "check-success=multi-cluster-mirroring"
  81. - "check-success=rgw-multisite-testing"
  82. - "check-success=TestCephSmokeSuite (v1.17.17)"
  83. - "check-success=TestCephSmokeSuite (v1.23.0)"
  84. - "check-success=TestCephHelmSuite (v1.17.17)"
  85. - "check-success=TestCephHelmSuite (v1.23.0)"
  86. - "check-success=TestCephMultiClusterDeploySuite (v1.23.0)"
  87. - "check-success=TestCephUpgradeSuite (v1.17.17)"
  88. - "check-success=TestCephUpgradeSuite (v1.23.0)"
  89. actions:
  90. merge:
  91. method: merge
  92. dismiss_reviews: {}
  93. delete_head_branch: {}
  94. # release-1.10 branch
  95. - name: automerge backport release-1.10
  96. conditions:
  97. - author=mergify[bot]
  98. - base=release-1.10
  99. - label!=do-not-merge
  100. - "status-success=DCO"
  101. - "check-success=canary"
  102. - "check-success=unittests"
  103. - "check-success=golangci-lint"
  104. - "check-success=codegen"
  105. - "check-success=codespell"
  106. - "check-success=lint"
  107. - "check-success=modcheck"
  108. - "check-success=Shellcheck"
  109. - "check-success=yaml-linter"
  110. - "check-success=lint-test"
  111. - "check-success=gen-rbac"
  112. - "check-success=crds-gen"
  113. - "check-success=pvc"
  114. - "check-success=pvc-db"
  115. - "check-success=pvc-db-wal"
  116. - "check-success=encryption-pvc"
  117. - "check-success=encryption-pvc-db"
  118. - "check-success=encryption-pvc-db-wal"
  119. - "check-success=encryption-pvc-kms-vault-token-auth"
  120. - "check-success=encryption-pvc-kms-vault-k8s-auth"
  121. - "check-success=lvm-pvc"
  122. - "check-success=multi-cluster-mirroring"
  123. - "check-success=rgw-multisite-testing"
  124. - "check-success=TestCephSmokeSuite (v1.19.16)"
  125. - "check-success=TestCephSmokeSuite (v1.25.0)"
  126. - "check-success=TestCephHelmSuite (v1.19.16)"
  127. - "check-success=TestCephHelmSuite (v1.25.0)"
  128. - "check-success=TestCephMultiClusterDeploySuite (v1.25.0)"
  129. - "check-success=TestCephUpgradeSuite (v1.19.16)"
  130. - "check-success=TestCephUpgradeSuite (v1.25.0)"
  131. actions:
  132. merge:
  133. method: merge
  134. dismiss_reviews: {}
  135. delete_head_branch: {}
  136. # release-1.11 branch
  137. - name: automerge backport release-1.11
  138. conditions:
  139. - author=mergify[bot]
  140. - base=release-1.11
  141. - label!=do-not-merge
  142. - "status-success=DCO"
  143. - "check-success=linux-build-all (1.19)"
  144. - "check-success=unittests"
  145. - "check-success=golangci-lint"
  146. - "check-success=codegen"
  147. - "check-success=codespell"
  148. - "check-success=lint"
  149. - "check-success=modcheck"
  150. - "check-success=Shellcheck"
  151. - "check-success=yaml-linter"
  152. - "check-success=lint-test"
  153. - "check-success=gen-rbac"
  154. - "check-success=crds-gen"
  155. - "check-success=docs-check"
  156. - "check-success=pylint"
  157. - "check-success=canary"
  158. - "check-success=raw-disk"
  159. - "check-success=two-osds-in-device"
  160. - "check-success=osd-with-metadata-device"
  161. - "check-success=encryption"
  162. - "check-success=lvm"
  163. - "check-success=pvc"
  164. - "check-success=pvc-db"
  165. - "check-success=pvc-db-wal"
  166. - "check-success=encryption-pvc"
  167. - "check-success=encryption-pvc-db"
  168. - "check-success=encryption-pvc-db-wal"
  169. - "check-success=encryption-pvc-kms-vault-token-auth"
  170. - "check-success=encryption-pvc-kms-vault-k8s-auth"
  171. - "check-success=lvm-pvc"
  172. - "check-success=rgw-multisite-testing"
  173. - "check-success=TestCephSmokeSuite (v1.21.14)"
  174. - "check-success=TestCephSmokeSuite (v1.26.1)"
  175. - "check-success=TestCephHelmSuite (v1.21.14)"
  176. - "check-success=TestCephHelmSuite (v1.26.1)"
  177. - "check-success=TestCephMultiClusterDeploySuite (v1.26.1)"
  178. - "check-success=TestCephUpgradeSuite (v1.21.14)"
  179. - "check-success=TestCephUpgradeSuite (v1.26.1)"
  180. - "check-success=TestHelmUpgradeSuite (v1.21.14)"
  181. - "check-success=TestHelmUpgradeSuite (v1.26.1)"
  182. actions:
  183. merge:
  184. method: merge
  185. dismiss_reviews: {}
  186. delete_head_branch: {}
  187. # release-1.12 branch
  188. - name: automerge backport release-1.12
  189. conditions:
  190. - author=mergify[bot]
  191. - base=release-1.12
  192. - label!=do-not-merge
  193. - "status-success=DCO"
  194. - "check-success=linux-build-all (1.21)"
  195. - "check-success=unittests"
  196. - "check-success=golangci-lint"
  197. - "check-success=codegen"
  198. - "check-success=codespell"
  199. - "check-success=lint"
  200. - "check-success=modcheck"
  201. - "check-success=Shellcheck"
  202. - "check-success=yaml-linter"
  203. - "check-success=lint-test"
  204. - "check-success=gen-rbac"
  205. - "check-success=crds-gen"
  206. - "check-success=docs-check"
  207. - "check-success=pylint"
  208. - "check-success=canary"
  209. - "check-success=raw-disk"
  210. - "check-success=two-osds-in-device"
  211. - "check-success=osd-with-metadata-device"
  212. - "check-success=encryption"
  213. - "check-success=lvm"
  214. - "check-success=pvc"
  215. - "check-success=pvc-db"
  216. - "check-success=pvc-db-wal"
  217. - "check-success=encryption-pvc"
  218. - "check-success=encryption-pvc-db"
  219. - "check-success=encryption-pvc-db-wal"
  220. - "check-success=encryption-pvc-kms-vault-token-auth"
  221. - "check-success=encryption-pvc-kms-vault-k8s-auth"
  222. - "check-success=lvm-pvc"
  223. - "check-success=rgw-multisite-testing"
  224. - "check-success=TestCephSmokeSuite (v1.22.17)"
  225. - "check-success=TestCephSmokeSuite (v1.28.0)"
  226. - "check-success=TestCephHelmSuite (v1.22.17)"
  227. - "check-success=TestCephHelmSuite (v1.28.0)"
  228. - "check-success=TestCephMultiClusterDeploySuite (v1.28.0)"
  229. - "check-success=TestCephObjectSuite (v1.27.2)"
  230. - "check-success=TestCephUpgradeSuite (v1.22.17)"
  231. - "check-success=TestCephUpgradeSuite (v1.28.0)"
  232. - "check-success=TestHelmUpgradeSuite (v1.22.17)"
  233. - "check-success=TestHelmUpgradeSuite (v1.28.0)"
  234. actions:
  235. merge:
  236. method: merge
  237. dismiss_reviews: {}
  238. delete_head_branch: {}
  239. # release-1.8 branch
  240. - actions:
  241. backport:
  242. branches:
  243. - release-1.8
  244. conditions:
  245. - label=backport-release-1.8
  246. name: backport release-1.8
  247. # release-1.9 branch
  248. - actions:
  249. backport:
  250. branches:
  251. - release-1.9
  252. conditions:
  253. - label=backport-release-1.9
  254. name: backport release-1.9
  255. # release-1.10 branch
  256. - actions:
  257. backport:
  258. branches:
  259. - release-1.10
  260. conditions:
  261. - label=backport-release-1.10
  262. name: backport release-1.10
  263. # release-1.11 branch
  264. - actions:
  265. backport:
  266. branches:
  267. - release-1.11
  268. conditions:
  269. - label=backport-release-1.11
  270. name: backport release-1.11
  271. # release-1.12 branch
  272. - actions:
  273. backport:
  274. branches:
  275. - release-1.12
  276. conditions:
  277. - label=backport-release-1.12
  278. name: backport release-1.12