Browse Source

chore: Squash PRs when squash label is added (#8446)

version-14
Faris Ansari 5 years ago
committed by GitHub
parent
commit
66bd2a9f5e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      .mergify.yml

+ 13
- 0
.mergify.yml View File

@@ -11,3 +11,16 @@ pull_request_rules:
actions:
merge:
method: merge
- name: Automatic squash on CI success and review
conditions:
- status-success=Codacy/PR Quality Review
- status-success=Semantic Pull Request
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (frappe)
- status-success=security/snyk - requirements.txt (frappe)
- label!=don't-merge
- label=squash
- "#approved-reviews-by>=1"
actions:
merge:
method: squash

Loading…
Cancel
Save