From d5754c00e200ebb0c2b20e3b679f00fe242f730f Mon Sep 17 00:00:00 2001 From: Anthony Dresser Date: Tue, 26 Feb 2019 16:23:48 -0800 Subject: [PATCH] Add bot configs to enable bot features (#4209) * add bot configs to enable bot features * update classifier label strings * initial check in should perform be false to double ensure things are working properly --- .github/classifier.yml | 49 +++++++++++++++++++++++++++++++++++++ .github/commands.yml | 12 +++++++++ .github/locker.yml | 6 +++++ .github/needs_more_info.yml | 6 +++++ .github/similarity.yml | 5 ++++ 5 files changed, 78 insertions(+) create mode 100644 .github/classifier.yml create mode 100644 .github/commands.yml create mode 100644 .github/locker.yml create mode 100644 .github/needs_more_info.yml create mode 100644 .github/similarity.yml diff --git a/.github/classifier.yml b/.github/classifier.yml new file mode 100644 index 0000000000..5d916f837f --- /dev/null +++ b/.github/classifier.yml @@ -0,0 +1,49 @@ +{ + perform: false, + alwaysRequireAssignee: false, + labelsRequiringAssignee: [], + autoAssignees: { + accessibility: [], + acquisition: [], + agent: [], + azure: [], + backup: [], + bcdr: [], + 'chart viewer': [], + connection: [], + dacfx: [], + dashboard: [], + 'data explorer': [], + documentation: [], + 'edit data': [], + export: [], + extensibility: [], + extensionManager: [], + globalization: [], + grid: [], + import: [], + insights: [], + intellisense: [], + localization: [], + 'managed instance': [], + notebooks: [], + 'object explorer': [], + performance: [], + profiler: [], + 'query editor': [], + 'query execution': [], + reliability: [], + restore: [], + scripting: [], + 'server group': [], + settings: [], + setup: [], + shell: [], + showplan: [], + snippet: [], + sql2019Preview: [], + sqldw: [], + supportability: [], + ux: [] + } +} diff --git a/.github/commands.yml b/.github/commands.yml new file mode 100644 index 0000000000..b395715e13 --- /dev/null +++ b/.github/commands.yml @@ -0,0 +1,12 @@ +{ + perform: false, + commands: [ + { + type: 'label', + name: 'duplicate', + allowTriggerByBot: true, + action: 'close', + comment: "Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](https://aka.ms/vscodeissuesearch). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" + } + ] +} diff --git a/.github/locker.yml b/.github/locker.yml new file mode 100644 index 0000000000..a9dab936b9 --- /dev/null +++ b/.github/locker.yml @@ -0,0 +1,6 @@ +{ + daysAfterClose: 45, + daysSinceLastUpdate: 3, + ignoredLabels: [], + perform: false +} diff --git a/.github/needs_more_info.yml b/.github/needs_more_info.yml new file mode 100644 index 0000000000..143c53ba53 --- /dev/null +++ b/.github/needs_more_info.yml @@ -0,0 +1,6 @@ +{ + daysUntilClose: 7, + needsMoreInfoLabel: 'more info', + perform: false, + closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" +} diff --git a/.github/similarity.yml b/.github/similarity.yml new file mode 100644 index 0000000000..8a7eac1eff --- /dev/null +++ b/.github/similarity.yml @@ -0,0 +1,5 @@ +{ + perform: false, + whenCreatedByTeam: true, + comment: "Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n${potentialDuplicates}" +}