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
54 changes: 54 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
pull_request_rules:

- name: Add CI label
conditions:
- or:
- "title~=^tox:"
- "title~=^ci:"
- "files~=tox.ini"
- "files~=tests"
actions:
label:
add:
- ci

- name: Add Mergify label
conditions:
- or:
- "title~=^mergify:"
- "files~=.mergify.yml$"
actions:
label:
add:
- mergify

- name: Add Documentation label
conditions:
- or:
- "title~=^docs:"
- "files~=docs"
- "files~=.rst$"
actions:
label:
add:
- documentation

- name: Automatic merge on approval
conditions:
- and:
- "check-success=style (docs)"
- "check-success=style (style)"
- "check-success=style (pkglint)"
- "check-success=Test macOS (3.8)"
- "check-success=Test macOS (3.9)"
- "check-success=Test macOS (3.10)"
- "check-success=Test macOS (3.11)"
- "check-success=Test Ubuntu (3.8)"
- "check-success=Test Ubuntu (3.9)"
- "check-success=Test Ubuntu (3.10)"
- "check-success=Test Ubuntu (3.11)"
- "check-success=Test Zsh"
- "-draft"
actions:
merge:
method: merge