Skip to content

Commit

Permalink
Merge pull request #692 from playframework/repo-sync/github/default
Browse files Browse the repository at this point in the history
πŸ”„ Synced file(s) with playframework/.github
  • Loading branch information
mkurz authored Sep 14, 2022
2 parents ec991a1 + 65f5c25 commit aca7e26
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
defaults:
actions:
backport:
title: "[{{ destination_branch }}] {{ title }} (backport #{{ number }}) by @{{ author }}"

queue_rules:
- name: default
conditions:
Expand All @@ -8,7 +13,6 @@ pull_request_rules:
- name: Merge PRs that are ready
conditions:
- check-success~=/ Ready To Merge$
- check-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
Expand All @@ -19,10 +23,17 @@ pull_request_rules:
method: merge
name: default

- name: Delete the PR branch after merge
- name: Delete the PR branch and remove label after merge
conditions:
- merged
actions:
delete_head_branch: {}
label:
remove: [ "status:merge-when-green" ]
remove: [ "status:merge-when-green" ]

- name: Labeling for Scala Steward PR's
conditions:
- author=scala-steward
actions:
label:
add: [ "type:updates" ]

0 comments on commit aca7e26

Please sign in to comment.