forked from StackStorm-Exchange/stackstorm-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.schema.yaml
executable file
·82 lines (75 loc) · 1.87 KB
/
config.schema.yaml
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
78
79
80
81
82
---
token:
description: "GitHub oAuth Token"
type: "string"
default: "{{system.github_oauth_token}}"
required: true
user:
description: "GitHub Username"
type: "string"
password:
description: "GitHub Password"
type: "string"
github_type:
description: "Default to either github or enterprise."
type: "string"
default: "online"
enum:
- "online"
- "enterprise"
required: true
web_url:
description: "The GitHub URL."
type: "string"
default: "https://github.example.com"
required: false
base_url:
description: "GitHub API url, include /api/v3 for GitHub Enterprise. exp: "
type: "string"
default: "https://github.example.com/api/v3"
required: false
deployment_environment:
description: "The environment for this StackStorm server."
type: "string"
required: true
default: "production"
repository_sensor:
description: "Sensor specific settings, with default github type."
type: "object"
required: false
additionalProperties: false
properties:
event_type_whitelist:
type: "array"
description: "Event types to watch for, e.g. IssuesEvent, PushEvent"
items:
type: "string"
required: false
default:
- "IssuesEvent"
- "IssueCommentEvent"
- "ForkEvent"
- "WatchEvent"
- "ReleaseEvent"
- "PushEvent"
repositories:
description: "Repositories to monitor"
type: "array"
required: true
items:
type: "object"
required: true
properties:
user:
description: "GitHub user or organization name"
type: "string"
required: true
name:
description: "Repository name"
type: "string"
required: true
count:
type: "integer"
description: "Maximum number of old events to retrieve"
required: false
default: 30