From ca9ce6dd02d343afeca8f5c27970ce6726991dc9 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs <me@danielgibbs.co.uk> Date: Fri, 1 Feb 2019 18:03:07 +0000 Subject: [PATCH] feat(bots): update bot settings --- .github/lock.yml | 16 +++++++++++++--- .github/no-response.yml | 4 ++-- .github/request-info.yml | 8 +++++--- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.github/lock.yml b/.github/lock.yml index 2501c129a..dd136ecdc 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -1,9 +1,13 @@ -# Configuration for lock-threads - https://github.com/dessant/lock-threads +# Configuration for Lock Threads - https://github.com/dessant/lock-threads # Number of days of inactivity before a closed issue or pull request is locked daysUntilLock: 365 -# Issues and pull requests with these labels will not be locked. Set to `[]` to disable +# Skip issues and pull requests created before a given timestamp. Timestamp must +# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable +skipCreatedBefore: false + +# Issues and pull requests with these labels will be ignored. Set to `[]` to disable exemptLabels: [] # Label to add before locking, such as `outdated`. Set to `false` to disable @@ -15,6 +19,9 @@ lockComment: > any recent activity after it was closed. Please open a new issue for related bugs. +# Assign `resolved` as the reason for locking. Set to `false` to disable +setLockReason: false + # Limit to only `issues` or `pulls` # only: issues @@ -25,4 +32,7 @@ lockComment: > # lockLabel: outdated # pulls: -# daysUntilLock: 30 \ No newline at end of file +# daysUntilLock: 30 + +# Repository to extend settings from +# _extends: repo \ No newline at end of file diff --git a/.github/no-response.yml b/.github/no-response.yml index 4769c5db3..34cf8d447 100644 --- a/.github/no-response.yml +++ b/.github/no-response.yml @@ -1,9 +1,9 @@ # Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 30 +daysUntilClose: 60 # Label requiring a response -responseRequiredLabel: "Status: waiting response" +responseRequiredLabel: "needs more info" # Comment to post when closing an Issue for lack of response. Set to `false` to disable closeComment: > This issue has been automatically closed because there has been no response diff --git a/.github/request-info.yml b/.github/request-info.yml index daae9d2cf..82a7fb6b5 100644 --- a/.github/request-info.yml +++ b/.github/request-info.yml @@ -2,8 +2,10 @@ # *Required* Comment to reply with requestInfoReplyComment: > - We require more information for this issue. - https://linuxgsm.com/support/#guide +  + More data is required to assist with this issue + or issue template was not used correctly. + * https://linuxgsm.com/support/#guide # *OPTIONAL* default titles to check against for lack of descriptiveness # MUST BE ALL LOWERCASE @@ -12,4 +14,4 @@ requestInfoReplyComment: > # - updates # *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given -requestInfoLabelToAdd: "Status: needs more info" \ No newline at end of file +requestInfoLabelToAdd: "needs more info" \ No newline at end of file