-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-schema.json
55 lines (55 loc) · 2.16 KB
/
config-schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"githubToken": {
"description": "Your github access token, found here: https://github.com/settings/tokens",
"type": "string"
},
"queries": {
"description": "The list of query configurations which drive what prs are displayed",
"type": "array",
"default": [],
"items": {
"type": "object",
"required": ["query", "label"],
"properties": {
"query": {
"type": "string",
"description": "The github search syntax query to use to retrieve the list of prs. Use `{githubUser}` as the wildcard for your github username. More information: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests."
},
"label": {
"type": "string",
"description": "The label to associate with this query"
},
"children": {
"type": "array",
"description": "A list of child queries nested within the same view",
"items": {
"type": "object",
"required": ["query", "label"],
"properties": {
"query": {
"type": "string",
"description": "The github search syntax query to use to retrieve the list of prs. Use `{githubUser}` as the wildcard for your github username. More information: https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests."
},
"label": {
"type": "string",
"description": "The label to associate with this query"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"prTitleRewriter": {
"description": "A regex string that selects content in a pr title to remove. Can be useful to remove unhelpful information like a jira ticket, and cleanup the list of prs",
"type": "string"
}
},
"required": ["githubToken"],
"additionalProperties": false
}