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

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