Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

.mergify.yml 1.8 KiB

1 år sedan
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. pull_request_rules:
  2. - name: Auto-close PRs on stable branch
  3. conditions:
  4. - and:
  5. - and:
  6. - author!=surajshetty3416
  7. - author!=deepeshgarg007
  8. - author!=ankush
  9. - author!=xhiveframework-pr-bot
  10. - author!=mergify[bot]
  11. - or:
  12. - base=version-15
  13. - base=version-14
  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://lab.membtech.com/xhiveframework/xhiveerp/wiki/Pull-Request-Checklist#which-branch
  22. - name: Automatic merge on CI success and review
  23. conditions:
  24. - label!=dont-merge
  25. - label!=squash
  26. - "#approved-reviews-by>=1"
  27. actions:
  28. merge:
  29. method: merge
  30. - name: Automatic squash on CI success and review
  31. conditions:
  32. - label!=dont-merge
  33. - label=squash
  34. - "#approved-reviews-by>=1"
  35. actions:
  36. merge:
  37. method: squash
  38. commit_message_template: |
  39. {{ title }} (#{{ number }})
  40. {{ body }}
  41. - name: backport to develop
  42. conditions:
  43. - label="backport develop"
  44. actions:
  45. backport:
  46. branches:
  47. - develop
  48. assignees:
  49. - "{{ author }}"
  50. - name: backport to version-13-hotfix
  51. conditions:
  52. - label="backport version-13-hotfix"
  53. actions:
  54. backport:
  55. branches:
  56. - version-13-hotfix
  57. assignees:
  58. - "{{ author }}"
  59. - name: backport to version-14-hotfix
  60. conditions:
  61. - label="backport version-14-hotfix"
  62. actions:
  63. backport:
  64. branches:
  65. - version-14-hotfix
  66. assignees:
  67. - "{{ author }}"