forked from hashicorp/terraform-provider-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.hashibot.hcl
53 lines (48 loc) · 1.16 KB
/
.hashibot.hcl
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
behavior "regexp_issue_labeler" "panic_label" {
regexp = "panic:"
labels = ["crash", "bug"]
}
behavior "regexp_issue_notifier" "panic_notify" {
regexp = "panic:"
slack_channel = env.COMMITTERS_SLACK_CHANNEL
message = "Panic report! https://github.com/${var.repository}/issues/${var.issue_number} has a panic in it."
}
behavior "remove_labels_on_reply" "remove_stale" {
labels = ["waiting-response", "stale"]
only_non_maintainers = true
}
behavior "pull_request_size_labeler" "size" {
label_prefix = "size/"
label_map = {
"size/XS" = {
from = 0
to = 30
}
"size/S" = {
from = 31
to = 60
}
"size/M" = {
from = 61
to = 150
}
"size/L" = {
from = 151
to = 300
}
"size/XL" = {
from = 301
to = 1000
}
"size/XXL" = {
from = 1001
to = 0
}
}
}
behavior "pull_request_path_labeler" "cross_provider_labels" {
label_map = {
"documentation" = ["website/**/*"]
"dependencies" = ["vendor/**/*"]
}
}