25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.6 KiB

  1. pull_request_rules:
  2. - name: Auto-close PRs on stable branch
  3. conditions:
  4. - or:
  5. - base=version-13
  6. - base=version-12
  7. actions:
  8. close:
  9. comment:
  10. message: |
  11. @{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
  12. https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
  13. - name: Automatic merge on CI success and review
  14. conditions:
  15. - status-success=Sider
  16. - status-success=Semantic Pull Request
  17. - status-success=Python Unit Tests (MariaDB) (1)
  18. - status-success=Python Unit Tests (MariaDB) (2)
  19. - status-success=Python Unit Tests (Postgres) (1)
  20. - status-success=Python Unit Tests (Postgres) (2)
  21. - status-success=UI Tests (Cypress) (1)
  22. - status-success=UI Tests (Cypress) (2)
  23. - status-success=security/snyk (frappe)
  24. - label!=dont-merge
  25. - label!=squash
  26. - "#approved-reviews-by>=1"
  27. actions:
  28. merge:
  29. method: merge
  30. - name: Automatic squash on CI success and review
  31. conditions:
  32. - status-success=Sider
  33. - status-success=Python Unit Tests (MariaDB) (1)
  34. - status-success=Python Unit Tests (MariaDB) (2)
  35. - status-success=Python Unit Tests (Postgres) (1)
  36. - status-success=Python Unit Tests (Postgres) (2)
  37. - status-success=UI Tests (Cypress) (1)
  38. - status-success=UI Tests (Cypress) (2)
  39. - status-success=security/snyk (frappe)
  40. - label!=dont-merge
  41. - label=squash
  42. - "#approved-reviews-by>=1"
  43. actions:
  44. merge:
  45. method: squash