From f7ddc085acf62c62bf01b5949a58d04b739a613b Mon Sep 17 00:00:00 2001 From: Guolin Ke Date: Mon, 24 Feb 2020 19:21:07 +0800 Subject: [PATCH 1/2] Create lock.yml --- .github/lock.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/lock.yml diff --git a/.github/lock.yml b/.github/lock.yml new file mode 100644 index 000000000000..009ec5d84cf5 --- /dev/null +++ b/.github/lock.yml @@ -0,0 +1,38 @@ +# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app + +# Number of days of inactivity before a closed issue or pull request is locked +daysUntilLock: 60 + +# 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: ['help wanted', 'feature request', 'in progress', 'bug'] + +# Label to add before locking, such as `outdated`. Set to `false` to disable +lockLabel: false + +# Comment to post before locking. Set to `false` to disable +lockComment: > + This thread has been automatically locked since there has not been + 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: true + +# Limit to only `issues` or `pulls` +# only: issues + +# Optionally, specify configuration settings just for `issues` or `pulls` +# issues: +# exemptLabels: +# - help-wanted +# lockLabel: outdated + +# pulls: +# daysUntilLock: 30 + +# Repository to extend settings from +# _extends: repo From 6d5b3db935956ed0bb39f0e9b6bd19d81fd7bf04 Mon Sep 17 00:00:00 2001 From: Guolin Ke Date: Tue, 25 Feb 2020 11:42:44 +0800 Subject: [PATCH 2/2] Update lock.yml --- .github/lock.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/lock.yml b/.github/lock.yml index 009ec5d84cf5..f4a343e301d7 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -8,10 +8,10 @@ daysUntilLock: 60 skipCreatedBefore: false # Issues and pull requests with these labels will be ignored. Set to `[]` to disable -exemptLabels: ['help wanted', 'feature request', 'in progress', 'bug'] +exemptLabels: ['blocking', 'bug', 'effectiveness', 'efficiency', 'feature request', 'help wanted', 'in progress'] # Label to add before locking, such as `outdated`. Set to `false` to disable -lockLabel: false +lockLabel: true # Comment to post before locking. Set to `false` to disable lockComment: >