Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #81 from hashicorp/restore-hashibot-behaviors
Browse files Browse the repository at this point in the history
restore hashibot behaviors after org transfer
  • Loading branch information
appilon authored Apr 9, 2020
2 parents 6f1525b + 797e277 commit 6ff460c
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .hashibot.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
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/**/*"]
}
}

0 comments on commit 6ff460c

Please sign in to comment.