Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue_comment.created not working #920

Closed
ivelichkovich opened this issue Apr 25, 2019 · 3 comments

Comments

@ivelichkovich
Copy link

commented Apr 25, 2019

Bug Report

Current Behavior

 app.on('issue_comment.created', async (context) => {
    app.log("HELLO PR")
    app.log(context)
    context.log("HELLO")
    const issueComment = context.issue({ body: 'Thanks for opening this PR!' })
    await context.github.issues.createComment(issueComment)
  })

I have this code.
I receive this webhook event

18:33:51.402Z DEBUG probot: Webhook received
  event: {
    "event": "issue_comment.created",
    "id": "ac5781e0-6788-11e9-9f68-1190ac421f8c",
    "installation": 862497,
    "repository": "PeopleNet/user-profile-tid"
  }

But it never triggers the code.
Other events work fine and trigger code.

Expected behavior/code

issue_comment.created should trigger code looking for issue_comment.created

Environment

  • Probot version(s): [e.g. v^7.2.0]
  • Node/npm version: [e.g. Node 8.3/npm 6.4.1]

@issue-label-bot issue-label-bot bot added the bug 🐞 label Apr 25, 2019

@issue-label-bot

This comment has been minimized.

Copy link

commented Apr 25, 2019

Issue-Label Bot is automatically applying the label bug 🐞 to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@welcome

This comment has been minimized.

Copy link

commented Apr 25, 2019

Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@phanirithvij

This comment has been minimized.

Copy link

commented May 11, 2019

@ivelichkovich What did you do to make it work? Why is this issue closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.