github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/.hashibot.hcl (about)

     1  behavior "remove_labels_on_reply" "remove_stale" {
     2    labels               = ["waiting-response", "stale"]
     3    only_non_maintainers = true
     4  }
     5  
     6  poll "label_issue_migrater" "provider_migrater" {
     7    schedule                = "0 20 * * * *"
     8    new_owner               = env.PROVIDERS_OWNER
     9    repo_prefix             = "terraform-provider-"
    10    label_prefix            = "provider/"
    11    excluded_label_prefixes = ["backend/", "provisioner/"]
    12    excluded_labels         = ["build", "cli", "config", "core", "new-provider", "new-provisioner", "new-remote-state", "provider/terraform"]
    13    aliases = {
    14      "provider/google-cloud" = "provider/google"
    15      "provider/influx"       = "provider/influxdb"
    16      "provider/vcloud"       = "provider/vcd"
    17    }
    18    issue_header     = <<-EOF
    19      _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._
    20      
    21      <hr>
    22      
    23      EOF
    24    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}."
    25  }
    26  
    27  poll "closed_issue_locker" "locker" {
    28    schedule                      = "0 50 1 * * *"
    29    closed_for                    = "720h" # 30 days
    30    no_comment_if_no_activity_for = "1440h" # 60 days
    31    max_issues                    = 500
    32    sleep_between_issues          = "5s"
    33  
    34    message = <<-EOF
    35      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.
    36  
    37      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 details necessary to investigate further.
    38    EOF
    39  }