-
Notifications
You must be signed in to change notification settings - Fork 42
/
default.go
42 lines (41 loc) · 904 Bytes
/
default.go
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
package config
// DefaultConfig with some common values
var DefaultConfig = Config{
StoragePath: "./storage/",
Logger: Logger{
File: "./bot.log",
Level: "info",
},
OpenWeather: OpenWeather{
Units: "metric",
},
// some default jira fields
Jira: Jira{
Fields: []JiraField{
{
Name: "type",
Icons: map[string]string{
"Bug": ":bug:",
},
},
},
},
PullRequest: PullRequest{
Notifications: Notifications{
BuildStatusInProgress: false,
BuildStatusSuccess: false,
BuildStatusFailed: false,
PullRequestStatusMergeable: false,
},
Reactions: PullRequestReactions{
InReview: "eyes",
Approved: "white_check_mark",
Merged: "twisted_rightwards_arrows",
Closed: "x",
BuildSuccess: "white_check_mark",
BuildFailed: "fire",
BuildRunning: "arrows_counterclockwise",
Error: "x",
},
},
}