-
Notifications
You must be signed in to change notification settings - Fork 7
/
.mergify.yml
49 lines (44 loc) · 1.57 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=Misc tests (lint)
- check-success=Misc tests (format)
- check-success=Misc tests (security)
- check-success=Unit tests (py37)
- check-success=Unit tests (py38)
- check-success=Unit tests (py39)
- check-success=Unit tests (py310)
- check-success=Unit tests (flask1)
pull_request_rules:
- name: Merge on approval
actions:
queue:
name: default
method: rebase
conditions:
- label!=no-mergify
- -draft
- approved-reviews-by=@fedora-infra/fedora-infrastructure-developers
- "#changes-requested-reviews-by=0"
- check-success=Misc tests (lint)
- check-success=Misc tests (format)
- check-success=Misc tests (security)
- check-success=Unit tests (py37)
- check-success=Unit tests (py38)
- check-success=Unit tests (py39)
- check-success=Unit tests (py310)
- check-success=Unit tests (flask1)
# Pre-commit autoupdates. Don't expect the CI to have run for this one:
# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
# In the workflow, we do a pre-commit run before creating the PR.
- name: Merge pre-commit autoupdates
actions:
merge:
method: rebase
conditions:
- label!=no-mergify
- -draft
- author=github-actions[bot]
- title=Auto-update pre-commit hooks
- "#changes-requested-reviews-by=0"