Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Update .mergify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Mar 18, 2021
1 parent 80cf1bb commit 7ead24b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
pull_request_rules:
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: |
This pull request is now in conflicts. Could you fix it @{{author}}? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/
```
git fetch upstream
git checkout -b {{head}} upstream/{{head}}
git merge upstream/{{base}}
git push upstream {{head}}
```
- name: Automatic squash and merge on approval with success checks and ready-to-merge label
conditions:
- "#approved-reviews-by>=2"
Expand Down

0 comments on commit 7ead24b

Please sign in to comment.