You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2020/10/28 01:02:21 UTC
[incubator-echarts-bot] 26/32: fix: pull request is committer
checking
This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-bot.git
commit a58c2318116c505577d40dcffb9b467a36955b05
Author: Ovilia <zw...@gmail.com>
AuthorDate: Fri Aug 14 13:19:57 2020 +0800
fix: pull request is committer checking
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
index 542578d..b3858c9 100644
--- a/index.js
+++ b/index.js
@@ -90,7 +90,7 @@ module.exports = app => {
app.on(['pull_request.opened'], async context => {
// const auth = context.payload.pull_request.author_association;
- const isCore = isCoreCommitter(context.payload.issue.user.login);
+ const isCore = isCoreCommitter(context.payload.pull_request.user.login);
const comment = context.github.issues.createComment(context.issue({
body: isCore ? text.PR_OPENED_BY_COMMITTER : text.PR_OPENED
}));
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org