Skip to content
Permalink
Browse files
fix: pull request is committer checking
  • Loading branch information
Ovilia committed Aug 14, 2020
1 parent 0bb310e commit a58c2318116c505577d40dcffb9b467a36955b05
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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
}));

0 comments on commit a58c231

Please sign in to comment.