Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.mergify.yml 3.3 KiB

il y a 2 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. pull_request_rules:
  2. - name: Auto-close PRs on stable branch
  3. conditions:
  4. - and:
  5. - and:
  6. - author!=surajshetty3416
  7. - author!=gavindsouza
  8. - author!=deepeshgarg007
  9. - author!=ankush
  10. - author!=mergify[bot]
  11. - or:
  12. - base=version-13
  13. - base=version-12
  14. actions:
  15. close:
  16. comment:
  17. message: |
  18. @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
  19. https://github.com/xhiveframework/xhiveerp/wiki/Pull-Request-Checklist#which-branch
  20. - name: Automatic merge on CI success and review
  21. conditions:
  22. - status-success=Sider
  23. - status-success=Check Commit Titles
  24. - status-success=Python Unit Tests (MariaDB) (1)
  25. - status-success=Python Unit Tests (MariaDB) (2)
  26. - status-success=Python Unit Tests (Postgres) (1)
  27. - status-success=Python Unit Tests (Postgres) (2)
  28. - status-success=UI Tests (Cypress) (1)
  29. - status-success=UI Tests (Cypress) (2)
  30. - status-success=UI Tests (Cypress) (3)
  31. - status-success=security/snyk (xhiveframework)
  32. - label!=dont-merge
  33. - label!=squash
  34. - "#approved-reviews-by>=1"
  35. actions:
  36. merge:
  37. method: merge
  38. - name: Automatic squash on CI success and review
  39. conditions:
  40. - status-success=Sider
  41. - status-success=Python Unit Tests (MariaDB) (1)
  42. - status-success=Python Unit Tests (MariaDB) (2)
  43. - status-success=Python Unit Tests (Postgres) (1)
  44. - status-success=Python Unit Tests (Postgres) (2)
  45. - status-success=UI Tests (Cypress) (1)
  46. - status-success=UI Tests (Cypress) (2)
  47. - status-success=UI Tests (Cypress) (3)
  48. - status-success=security/snyk (xhiveframework)
  49. - label!=dont-merge
  50. - label=squash
  51. - "#approved-reviews-by>=1"
  52. actions:
  53. merge:
  54. method: squash
  55. commit_message_template: |
  56. {{ title }} (#{{ number }})
  57. {{ body }}
  58. - name: backport to develop
  59. conditions:
  60. - label="backport develop"
  61. actions:
  62. backport:
  63. branches:
  64. - develop
  65. assignees:
  66. - "{{ author }}"
  67. - name: backport to version-13-hotfix
  68. conditions:
  69. - label="backport version-13-hotfix"
  70. actions:
  71. backport:
  72. branches:
  73. - version-13-hotfix
  74. assignees:
  75. - "{{ author }}"
  76. - name: backport to version-14-hotfix
  77. conditions:
  78. - label="backport version-14-hotfix"
  79. actions:
  80. backport:
  81. branches:
  82. - version-14-hotfix
  83. assignees:
  84. - "{{ author }}"
  85. - name: backport to develop
  86. conditions:
  87. - label="backport develop"
  88. actions:
  89. backport:
  90. branches:
  91. - develop
  92. assignees:
  93. - "{{ author }}"
  94. - name: backport to version-13-pre-release
  95. conditions:
  96. - label="backport version-13-pre-release"
  97. actions:
  98. backport:
  99. branches:
  100. - version-13-pre-release
  101. assignees:
  102. - "{{ author }}"
  103. - name: backport to version-12-hotfix
  104. conditions:
  105. - label="backport version-12-hotfix"
  106. actions:
  107. backport:
  108. branches:
  109. - version-12-hotfix
  110. assignees:
  111. - "{{ author }}"