Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

97 строки
2.7 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. - or:
  11. - base=version-13
  12. - base=version-12
  13. actions:
  14. close:
  15. comment:
  16. message: |
  17. @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
  18. https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
  19. - name: Automatic merge on CI success and review
  20. conditions:
  21. - status-success=Sider
  22. - status-success=Semantic Pull Request
  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=security/snyk (frappe)
  30. - label!=dont-merge
  31. - label!=squash
  32. - "#approved-reviews-by>=1"
  33. actions:
  34. merge:
  35. method: merge
  36. - name: Automatic squash on CI success and review
  37. conditions:
  38. - status-success=Sider
  39. - status-success=Python Unit Tests (MariaDB) (1)
  40. - status-success=Python Unit Tests (MariaDB) (2)
  41. - status-success=Python Unit Tests (Postgres) (1)
  42. - status-success=Python Unit Tests (Postgres) (2)
  43. - status-success=UI Tests (Cypress) (1)
  44. - status-success=UI Tests (Cypress) (2)
  45. - status-success=security/snyk (frappe)
  46. - label!=dont-merge
  47. - label=squash
  48. - "#approved-reviews-by>=1"
  49. actions:
  50. merge:
  51. method: squash
  52. commit_message_template: |
  53. {{ title }} (#{{ number }})
  54. {{ body }}
  55. - name: backport to develop
  56. conditions:
  57. - label="backport develop"
  58. actions:
  59. backport:
  60. branches:
  61. - develop
  62. assignees:
  63. - "{{ author }}"
  64. - name: backport to version-13-hotfix
  65. conditions:
  66. - label="backport version-13-hotfix"
  67. actions:
  68. backport:
  69. branches:
  70. - version-13-hotfix
  71. assignees:
  72. - "{{ author }}"
  73. - name: backport to version-13-pre-release
  74. conditions:
  75. - label="backport version-13-pre-release"
  76. actions:
  77. backport:
  78. branches:
  79. - version-13-pre-release
  80. assignees:
  81. - "{{ author }}"
  82. - name: backport to version-12-hotfix
  83. conditions:
  84. - label="backport version-12-hotfix"
  85. actions:
  86. backport:
  87. branches:
  88. - version-12-hotfix
  89. assignees:
  90. - "{{ author }}"