Skip to content

Commit

Permalink
Add automatic merge on approval rule
Browse files Browse the repository at this point in the history
- Added a new file `.github/.mergify.yml` with rules for automatic mergi
ng of pull requests on approval. The rules include conditions for
succes
sful build and test checks, as well as no check failures. The merge
meth
od used is the default merge.
  • Loading branch information
mraniki committed Oct 10, 2023
1 parent 5633701 commit b64f6d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/.mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "check-success=build"
- "check-success=test"
- "#check-failure=0"
actions:
merge:
method: merge

0 comments on commit b64f6d4

Please sign in to comment.