You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/04/20 08:16:50 UTC
[echarts-bot] 01/04: fix: awaiting api changes
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
commit 58553f758c4ab6514fb46aa5b76e9202c4993b34
Author: Ovilia <zw...@gmail.com>
AuthorDate: Wed Sep 9 14:22:45 2020 +0800
fix: awaiting api changes
---
index.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 71e158e..ed40ec3 100644
--- a/index.js
+++ b/index.js
@@ -100,7 +100,7 @@ module.exports = app => {
labelList.push('PR: author is committer');
}
const content = context.payload.pull_request.body;
- if (content && content.indexOf('[-] The API has been changed.') > -1) {
+ if (content && content.indexOf('[x] The API has been changed.') > -1) {
labelList.push('PR: awaiting doc');
commentText += '\n\n' + text.PR_AWAITING_DOC;
}
@@ -118,7 +118,7 @@ module.exports = app => {
app.on(['pull_request.edited'], async context => {
const content = context.payload.pull_request.body;
- if (content && content.indexOf('[-] The API has been changed.') > -1) {
+ if (content && content.indexOf('[x] The API has been changed.') > -1) {
return context.github.issues.addLabels(context.issue({
labels: ['PR: awaiting doc']
}));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org