This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/echarts-bot.git
The following commit(s) were added to refs/heads/master by this push: new 3973634 feat: disable adding "waiting for community" label 3973634 is described below commit 3973634a68cc4ee888025fb63686b03d6cea87f9 Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Thu May 26 19:41:51 2022 +0800 feat: disable adding "waiting for community" label --- index.js | 4 ++-- src/issue.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index ee585a1..8844a34 100644 --- a/index.js +++ b/index.js @@ -159,11 +159,11 @@ module.exports = (/** @type import('probot').Probot */ app) => { else if (isCommenterAuthor) { // New comment from issue author removeLabel = labelText.WAITING_FOR_AUTHOR; - addLabel = labelText.WAITING_FOR_COMMUNITY; + // addLabel = labelText.WAITING_FOR_COMMUNITY; } return Promise.all([ removeLabels(context, [removeLabel]), - addLabels(context, [addLabel]) + addLabel && addLabels(context, [addLabel]) ]); }); diff --git a/src/issue.js b/src/issue.js index 084a360..b2e7423 100644 --- a/src/issue.js +++ b/src/issue.js @@ -34,7 +34,7 @@ class Issue { return; } this.addLabels.push(label.PENDING); - this.addLabels.push(label.WAITING_FOR_COMMUNITY); + // this.addLabels.push(label.WAITING_FOR_COMMUNITY); } // translate issue --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org