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.
 
 
 
 

137 lignes
3.5 KiB

  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!=rohitwaghchaure
  9. - author!=nabinhait
  10. - author!=ankush
  11. - author!=deepeshgarg007
  12. - author!=mergify[bot]
  13. - or:
  14. - base=version-13
  15. - base=version-12
  16. actions:
  17. close:
  18. comment:
  19. message: |
  20. @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
  21. https://github.com/xhiveframework/xhiveerp/wiki/Pull-Request-Checklist#which-branch
  22. - name: Auto-close PRs on pre-release branch
  23. conditions:
  24. - base=version-13-pre-release
  25. actions:
  26. close:
  27. comment:
  28. message: |
  29. @{{author}}, pre-release branch is not maintained anymore. Releases are directly done by merging hotfix branch to stable branches.
  30. - name: backport to develop
  31. conditions:
  32. - label="backport develop"
  33. actions:
  34. backport:
  35. branches:
  36. - develop
  37. assignees:
  38. - "{{ author }}"
  39. - name: backport to version-14-hotfix
  40. conditions:
  41. - label="backport version-14-hotfix"
  42. actions:
  43. backport:
  44. branches:
  45. - version-14-hotfix
  46. assignees:
  47. - "{{ author }}"
  48. - name: backport to version-14-pre-release
  49. conditions:
  50. - label="backport version-14-pre-release"
  51. actions:
  52. backport:
  53. branches:
  54. - version-14-pre-release
  55. assignees:
  56. - "{{ author }}"
  57. - name: backport to version-13-hotfix
  58. conditions:
  59. - label="backport version-13-hotfix"
  60. actions:
  61. backport:
  62. branches:
  63. - version-13-hotfix
  64. assignees:
  65. - "{{ author }}"
  66. - name: backport to version-13-pre-release
  67. conditions:
  68. - label="backport version-13-pre-release"
  69. actions:
  70. backport:
  71. branches:
  72. - version-13-pre-release
  73. assignees:
  74. - "{{ author }}"
  75. - name: backport to version-12-hotfix
  76. conditions:
  77. - label="backport version-12-hotfix"
  78. actions:
  79. backport:
  80. branches:
  81. - version-12-hotfix
  82. assignees:
  83. - "{{ author }}"
  84. - name: backport to version-12-pre-release
  85. conditions:
  86. - label="backport version-12-pre-release"
  87. actions:
  88. backport:
  89. branches:
  90. - version-12-pre-release
  91. assignees:
  92. - "{{ author }}"
  93. - name: Automatic merge on CI success and review
  94. conditions:
  95. - status-success=linters
  96. - status-success=Sider
  97. - status-success=Semantic Pull Request
  98. - status-success=Patch Test
  99. - status-success=Python Unit Tests (1)
  100. - status-success=Python Unit Tests (2)
  101. - status-success=Python Unit Tests (3)
  102. - label!=dont-merge
  103. - label!=squash
  104. - "#approved-reviews-by>=1"
  105. actions:
  106. merge:
  107. method: merge
  108. - name: Automatic squash on CI success and review
  109. conditions:
  110. - status-success=linters
  111. - status-success=Sider
  112. - status-success=Patch Test
  113. - status-success=Python Unit Tests (1)
  114. - status-success=Python Unit Tests (2)
  115. - status-success=Python Unit Tests (3)
  116. - label!=dont-merge
  117. - label=squash
  118. - "#approved-reviews-by>=1"
  119. actions:
  120. merge:
  121. method: squash
  122. commit_message_template: |
  123. {{ title }} (#{{ number }})
  124. {{ body }}