-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathghproj.json
47 lines (47 loc) · 1.12 KB
/
ghproj.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/suzuki-shunsuke/ghproj/pkg/controller/add/config",
"$ref": "#/$defs/Config",
"$defs": {
"Config": {
"properties": {
"entries": {
"items": {
"$ref": "#/$defs/Entry"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"entries"
]
},
"Entry": {
"properties": {
"project_id": {
"type": "string",
"description": "GitHub Project id"
},
"action": {
"type": "string",
"description": "Set 'archive' if you want to archive items"
},
"query": {
"type": "string",
"description": "GitHub GraphQL Query to search issues and pull requests"
},
"expr": {
"type": "string",
"description": "An expression to filter the search result"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"project_id"
]
}
}
}