forked from ubiquity-os-marketplace/daemon-merging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
77 lines (77 loc) · 2.5 KB
/
manifest.json
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "Daemon merging",
"description": "Automatically merge pull-requests.",
"ubiquity:listeners": ["push", "issue_comment.created"],
"configuration": {
"type": "object",
"properties": {
"approvalsRequired": {
"default": {},
"type": "object",
"properties": {
"collaborator": {
"default": 1,
"minimum": 1,
"description": "The amount of validations needed to consider a pull-request by a collaborator to be deemed eligible for merge",
"type": "number"
},
"contributor": {
"default": 2,
"minimum": 1,
"description": "The amount of validations needed to consider a pull-request by a contributor to be deemed eligible for merge",
"type": "number"
}
}
},
"mergeTimeout": {
"default": {},
"type": "object",
"properties": {
"collaborator": {
"default": "3.5 days",
"description": "The timespan to wait before merging a collaborator's pull-request",
"examples": ["1 day", "3.5 days"],
"type": "string"
}
}
},
"repos": {
"default": {},
"type": "object",
"properties": {
"monitor": {
"default": [],
"description": "Repositories to watch for updates, if empty all are watched and if just owner is provided all repositories from that owner are watched.",
"examples": ["owner/repo", "owner"],
"type": "array",
"items": {
"minLength": 1,
"type": "string"
}
},
"ignore": {
"default": [],
"description": "Repositories to ignore updates from, if empty all repositories are watched and if just owner is provided all repositories from that owner are ignored",
"examples": ["owner/repo", "owner"],
"type": "array",
"items": {
"type": "string"
}
}
}
},
"allowedReviewerRoles": {
"default": ["COLLABORATOR", "MEMBER", "OWNER"],
"description": "When considering a user for a task: which roles should be considered as having review authority? All others are ignored.",
"examples": [
["COLLABORATOR", "MEMBER", "OWNER"],
["MEMBER", "OWNER"]
],
"type": "array",
"items": {
"type": "string"
}
}
}
}
}