Skip to content

Commit

Permalink
Add or update mergify config
Browse files Browse the repository at this point in the history
Addresses tinkerbell/tink#568 for repos that already had a mergify setup.
Creates a mergify config for repos that did not, because many of us miss mergify when its not configured.

Signed-off-by: Manuel Mendez <[email protected]>
  • Loading branch information
mmlb committed Jan 13, 2022
1 parent 9a04338 commit bd335dc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=DCO
- check-success=build

pull_request_rules:
- name: Automatic merge on approval
conditions:
- base=main
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-requested=0"
- check-success=DCO
- check-success=build
- label!=do-not-merge
- label=ready-to-merge
actions:
queue:
method: merge
name: default
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
13 changes: 0 additions & 13 deletions .mergify.yml

This file was deleted.

0 comments on commit bd335dc

Please sign in to comment.