Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
pull_request_rules:
- name: Automatic merge
description: Conditions required for automatic merging of a PR
conditions:
# let Mergify know that the PR can be merged (added manually)
- label = 🤖-automerge
# block Mergify from merging the PR (added manually)
- label != 🤖-do-not-merge

# list of CI checks that need to pass in order for the PR to be merged
- check-success=unit-tests
- check-success=integration-tests
- check-success=system-tests

# Check for required reviews
- "#approved-reviews-by>=2" # Requires 2 approving reviews
- "#changes-requested-reviews-by=0" # No changes requested
- "#review-threads-unresolved=0" # All review threads resolved

# Optional but recommended checks
- base=master
- -draft # PR is not in draft state
- -conflict # No merge conflicts
actions:
merge:


- name: retry CI on failure
conditions:
- base=master
- or:
- check-failure=unit-tests
- check-failure=integration-tests
- check-failure=system-tests
actions:
github_actions:
workflow:
dispatch:
- workflow: .github/workflows/ci-testing-deploy.yml

Loading