No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

98 líneas
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=Semantic Pull Request
  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=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=security/snyk (frappe)
  47. - label!=dont-merge
  48. - label=squash
  49. - "#approved-reviews-by>=1"
  50. actions:
  51. merge:
  52. method: squash
  53. commit_message_template: |
  54. {{ title }} (#{{ number }})
  55. {{ body }}
  56. - name: backport to develop
  57. conditions:
  58. - label="backport develop"
  59. actions:
  60. backport:
  61. branches:
  62. - develop
  63. assignees:
  64. - "{{ author }}"
  65. - name: backport to version-13-hotfix
  66. conditions:
  67. - label="backport version-13-hotfix"
  68. actions:
  69. backport:
  70. branches:
  71. - version-13-hotfix
  72. assignees:
  73. - "{{ author }}"
  74. - name: backport to version-13-pre-release
  75. conditions:
  76. - label="backport version-13-pre-release"
  77. actions:
  78. backport:
  79. branches:
  80. - version-13-pre-release
  81. assignees:
  82. - "{{ author }}"
  83. - name: backport to version-12-hotfix
  84. conditions:
  85. - label="backport version-12-hotfix"
  86. actions:
  87. backport:
  88. branches:
  89. - version-12-hotfix
  90. assignees:
  91. - "{{ author }}"