Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

57 linhas
1.4 KiB

  1. pull_request_rules:
  2. - name: Auto-close PRs on stable branch
  3. conditions:
  4. - and:
  5. - author!=ruchamahabal
  6. - author!=saurabh6790
  7. - author!=xhiveframework-pr-bot
  8. - author!=mergify[bot]
  9. - base=version-14
  10. actions:
  11. close:
  12. comment:
  13. message: |
  14. @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch or the develop branch.
  15. - name: Automatic merge on CI success and review
  16. conditions:
  17. - label!=dont-merge
  18. - label!=squash
  19. - "#approved-reviews-by>=1"
  20. actions:
  21. merge:
  22. method: merge
  23. - name: Automatic squash on CI success and review
  24. conditions:
  25. - label!=dont-merge
  26. - label=squash
  27. - "#approved-reviews-by>=1"
  28. actions:
  29. merge:
  30. method: squash
  31. commit_message_template: |
  32. {{ title }} (#{{ number }})
  33. {{ body }}
  34. - name: backport to develop
  35. conditions:
  36. - label="backport develop"
  37. actions:
  38. backport:
  39. branches:
  40. - develop
  41. assignees:
  42. - "{{ author }}"
  43. - name: backport to version-14-hotfix
  44. conditions:
  45. - label="backport version-14-hotfix"
  46. actions:
  47. backport:
  48. branches:
  49. - version-14-hotfix
  50. assignees:
  51. - "{{ author }}"