Skip to content

Commit

Permalink
Merge pull request #274 from russellb/mergify
Browse files Browse the repository at this point in the history
mergify: Add auto-merge rule
  • Loading branch information
russellb authored Apr 19, 2024
2 parents c5c261a + ff9fb4f commit 13300c2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,21 @@ pull_request_rules:
actions:
merge:
method: merge

- name: auto-merge
description: automatic merge for main with > 1 approved reviews, all requested reviews have given feedback, not held, and CI is successful
conditions:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- base=main
- label!=hold
- check-success=golangci-lint-worker
- check-success=golangci-lint-bot
- check-success=ansible
- check-success=Shellcheck
- check-success=markdown-lint
- check-success=DCO
actions:
merge:
method: merge

0 comments on commit 13300c2

Please sign in to comment.