Skip to content

Update mergify config #937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
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
24 changes: 21 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
pull_request_rules:
- name: Automatic merge on up to date branch with dual approval
- name: Automatic merge passing PR on up to date branch with approving CR
conditions:
- "#approved-reviews-by>=2"
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- "#commented-reviews-by=0"
- "status-success=continuous-integration/travis-ci/pr"
- "label!=work-in-progress"
actions:
merge:
method: merge
strict: true
strict: smart+fasttrack
- name: Request Brian to review changes on core api.
conditions:
- "-files~=^can/interfaces/$"
- "-closed"
- "author!=hardbyte"
actions:
request_reviews:
users:
- hardbyte

- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ python-can
:target: https://codecov.io/gh/hardbyte/python-can/branch/develop
:alt: Test coverage reports on Codecov.io

.. image:: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/hardbyte/python-can&style=flat
:target: https://mergify.io
:alt: Mergify Status

The **C**\ ontroller **A**\ rea **N**\ etwork is a bus standard designed
to allow microcontrollers and devices to communicate with each other. It
has priority based bus arbitration and reliable deterministic
Expand Down