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

Commit

Permalink
Add mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Mar 24, 2021
1 parent 6b69c30 commit fb8b67e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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: backport patches to 7.x branch
conditions:
- base=master
- label=backport
actions:
backport:
branches:
- "7.x"

0 comments on commit fb8b67e

Please sign in to comment.