skip lock comments on issues closed/updated over 60 days
remove cherry pick labeler, we won't be doing that anymore
This commit is contained in:
parent
9debd341bc
commit
f1030826ba
|
@ -1,71 +1,40 @@
|
||||||
behavior "pull_request_path_labeler" "sdk_cherrypicker" {
|
|
||||||
label_map = {
|
|
||||||
"sdkv1" = [
|
|
||||||
# 1-1 package mapping between core and sdk
|
|
||||||
"helper/**",
|
|
||||||
"httpclient/**",
|
|
||||||
"plugin/**",
|
|
||||||
"terraform/**",
|
|
||||||
"internal/earlyconfig/**",
|
|
||||||
"internal/initwd/**",
|
|
||||||
"internal/modsdir/**",
|
|
||||||
"internal/tfplugin5/**",
|
|
||||||
# these packages have been moved under internal/ in the sdk
|
|
||||||
"addrs/**",
|
|
||||||
"command/format/**",
|
|
||||||
"configs/**",
|
|
||||||
"dag/**",
|
|
||||||
"flatmap/**",
|
|
||||||
"lang/**",
|
|
||||||
"moduledeps/**",
|
|
||||||
"plans/**",
|
|
||||||
"providers/**",
|
|
||||||
"provisioners/**",
|
|
||||||
"registry/**",
|
|
||||||
"states/**",
|
|
||||||
"svchost/**",
|
|
||||||
"tfdiags/**",
|
|
||||||
"version/**"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
behavior "regexp_issue_labeler" "panic_label" {
|
behavior "regexp_issue_labeler" "panic_label" {
|
||||||
regexp = "panic:"
|
regexp = "panic:"
|
||||||
labels = ["crash", "bug"]
|
labels = ["crash", "bug"]
|
||||||
}
|
}
|
||||||
|
|
||||||
behavior "remove_labels_on_reply" "remove_stale" {
|
behavior "remove_labels_on_reply" "remove_stale" {
|
||||||
labels = ["waiting-response", "stale"]
|
labels = ["waiting-response", "stale"]
|
||||||
only_non_maintainers = true
|
only_non_maintainers = true
|
||||||
}
|
}
|
||||||
|
|
||||||
poll "label_issue_migrater" "provider_migrater" {
|
poll "label_issue_migrater" "provider_migrater" {
|
||||||
schedule = "0 20 * * * *"
|
schedule = "0 20 * * * *"
|
||||||
new_owner = env.PROVIDERS_OWNER
|
new_owner = env.PROVIDERS_OWNER
|
||||||
repo_prefix = "terraform-provider-"
|
repo_prefix = "terraform-provider-"
|
||||||
label_prefix = "provider/"
|
label_prefix = "provider/"
|
||||||
excluded_label_prefixes = ["backend/", "provisioner/"]
|
excluded_label_prefixes = ["backend/", "provisioner/"]
|
||||||
excluded_labels = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"]
|
excluded_labels = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"]
|
||||||
aliases = {
|
aliases = {
|
||||||
"provider/google-cloud" = "provider/google"
|
"provider/google-cloud" = "provider/google"
|
||||||
"provider/influx" = "provider/influxdb"
|
"provider/influx" = "provider/influxdb"
|
||||||
"provider/vcloud" = "provider/vcd"
|
"provider/vcloud" = "provider/vcd"
|
||||||
}
|
}
|
||||||
issue_header = <<-EOF
|
issue_header = <<-EOF
|
||||||
_This issue was originally opened by @${var.user} as ${var.repository}#${var.issue_number}. It was migrated here as a result of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._
|
_This issue was originally opened by @${var.user} as ${var.repository}#${var.issue_number}. It was migrated here as a result of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
migrated_comment = "This issue has been automatically migrated to ${var.repository}#${var.issue_number} because it looks like an issue with that provider. If you believe this is _not_ an issue with the provider, please reply to ${var.repository}#${var.issue_number}."
|
migrated_comment = "This issue has been automatically migrated to ${var.repository}#${var.issue_number} because it looks like an issue with that provider. If you believe this is _not_ an issue with the provider, please reply to ${var.repository}#${var.issue_number}."
|
||||||
}
|
}
|
||||||
|
|
||||||
poll "closed_issue_locker" "locker" {
|
poll "closed_issue_locker" "locker" {
|
||||||
schedule = "0 50 1 * * *"
|
schedule = "0 50 1 * * *"
|
||||||
closed_for = "720h" # 30 days
|
closed_for = "720h" # 30 days
|
||||||
max_issues = 500
|
no_comment_if_no_activity_for = "1440h" # 60 days
|
||||||
sleep_between_issues = "5s"
|
max_issues = 500
|
||||||
|
sleep_between_issues = "5s"
|
||||||
|
|
||||||
message = <<-EOF
|
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue