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.
 
 
 
 
 
 

99 linhas
2.8 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!=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/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
  20. - name: Automatic merge on CI success and review
  21. conditions:
  22. - status-success=Sider
  23. - status-success=Python Unit Tests (MariaDB) (1)
  24. - status-success=Python Unit Tests (MariaDB) (2)
  25. - status-success=Python Unit Tests (Postgres) (1)
  26. - status-success=Python Unit Tests (Postgres) (2)
  27. - status-success=UI Tests (Cypress) (1)
  28. - status-success=UI Tests (Cypress) (2)
  29. - status-success=UI Tests (Cypress) (3)
  30. - status-success=security/snyk (frappe)
  31. - label!=dont-merge
  32. - label!=squash
  33. - "#approved-reviews-by>=1"
  34. actions:
  35. merge:
  36. method: merge
  37. - name: Automatic squash on CI success and review
  38. conditions:
  39. - status-success=Sider
  40. - status-success=Python Unit Tests (MariaDB) (1)
  41. - status-success=Python Unit Tests (MariaDB) (2)
  42. - status-success=Python Unit Tests (Postgres) (1)
  43. - status-success=Python Unit Tests (Postgres) (2)
  44. - status-success=UI Tests (Cypress) (1)
  45. - status-success=UI Tests (Cypress) (2)
  46. - status-success=UI Tests (Cypress) (3)
  47. - status-success=security/snyk (frappe)
  48. - label!=dont-merge
  49. - label=squash
  50. - "#approved-reviews-by>=1"
  51. actions:
  52. merge:
  53. method: squash
  54. commit_message_template: |
  55. {{ title }} (#{{ number }})
  56. {{ body }}
  57. - name: backport to develop
  58. conditions:
  59. - label="backport develop"
  60. actions:
  61. backport:
  62. branches:
  63. - develop
  64. assignees:
  65. - "{{ author }}"
  66. - name: backport to version-13-hotfix
  67. conditions:
  68. - label="backport version-13-hotfix"
  69. actions:
  70. backport:
  71. branches:
  72. - version-13-hotfix
  73. assignees:
  74. - "{{ author }}"
  75. - name: backport to version-13-pre-release
  76. conditions:
  77. - label="backport version-13-pre-release"
  78. actions:
  79. backport:
  80. branches:
  81. - version-13-pre-release
  82. assignees:
  83. - "{{ author }}"
  84. - name: backport to version-12-hotfix
  85. conditions:
  86. - label="backport version-12-hotfix"
  87. actions:
  88. backport:
  89. branches:
  90. - version-12-hotfix
  91. assignees:
  92. - "{{ author }}"