.mergify.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # https://blog.mergify.com/strict-mode-deprecation/
  2. queue_rules:
  3. - name: default
  4. # These define the conditions to get out of the merge queue
  5. conditions:
  6. - status-success=ubuntu-24.04 - Python 3.9 x64
  7. - status-success=macos-14 - Python 3.9 arm64
  8. - status-success=windows-2019 - Python 3.9 x64
  9. - status-success=windows-2019 - Python 3.9 x86
  10. - status-success=Vim tests - new
  11. - status-success=Vim tests - old
  12. pull_request_rules:
  13. - name: Automatic merge on Azure Pipelines and Reviewable successes
  14. conditions:
  15. - base=master
  16. - "#approved-reviews-by>=2"
  17. - status-success=ubuntu-24.04 - Python 3.9 x64
  18. - status-success=macos-14 - Python 3.9 arm64
  19. - status-success=windows-2019 - Python 3.9 x64
  20. - status-success=windows-2019 - Python 3.9 x86
  21. - status-success=Vim tests - new
  22. - status-success=Vim tests - old
  23. - status-success=code-review/reviewable
  24. actions: &merge-actions
  25. queue:
  26. method: merge
  27. name: default
  28. comment:
  29. message: Thanks for sending a PR!
  30. - name: Manual merge on Azure Pipelines and Maintainer Override
  31. conditions:
  32. - base=master
  33. - status-success=ubuntu-24.04 - Python 3.9 x64
  34. - status-success=macos-14 - Python 3.9 arm64
  35. - status-success=windows-2019 - Python 3.9 x64
  36. - status-success=windows-2019 - Python 3.9 x86
  37. - status-success=Vim tests - new
  38. - status-success=Vim tests - old
  39. - "#approved-reviews-by>=1"
  40. - "#changes-requested-reviews-by=0"
  41. - label="Ship It!"
  42. actions:
  43. <<: *merge-actions
  44. - name: Manual merge on Pipelines and Maintainer Override from owner PR
  45. 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. actions:
  57. <<: *merge-actions
  58. - name: Merge auto pr when approved
  59. conditions:
  60. - author=VimspectorUpdateBot
  61. - label=auto
  62. - base=master
  63. # Review
  64. - status-success=code-review/reviewable
  65. - "#approved-reviews-by>=1"
  66. - "#changes-requested-reviews-by=0"
  67. actions:
  68. <<: *merge-actions