forked from hashicorp/terraform-ls
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Hashibot configuration (hashicorp#157)
* Add Hashibot configuration * Update .hashibot.hcl Co-authored-by: Paul Tyng <ptyng@hashicorp.com> Co-authored-by: Paul Tyng <ptyng@hashicorp.com>
- Loading branch information
1 parent
4f315b8
commit 378dba4
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
behavior "remove_labels_on_reply" "remove_stale" { | ||
labels = ["waiting-response", "stale"] | ||
only_non_maintainers = true | ||
} | ||
|
||
poll "closed_issue_locker" "locker" { | ||
schedule = "0 3 * * *" # daily | ||
closed_for = "720h" # 30 days | ||
no_comment_if_no_activity_for = "1440h" # 60 days | ||
max_issues = 500 | ||
sleep_between_issues = "5s" | ||
|
||
message = <<-EOF | ||
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues. | ||
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further. | ||
EOF | ||
} | ||
|
||
poll "stale_issue_closer" "closer" { | ||
schedule = "0 3 * * *" # daily | ||
labels = ["stale", "waiting-response"] | ||
no_reply_in_last = "2160h" # 90 days | ||
max_issues = 500 | ||
sleep_between_issues = "5s" | ||
message = <<-EOF | ||
I'm going to close this issue due to inactivity (_90 days_ without response ⏳ ). This helps our maintainers find and focus on the active issues. | ||
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further. | ||
EOF | ||
} |