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

Not getting the pull request(open) payload. #997

Closed
Majidbeg opened this issue Aug 29, 2019 · 3 comments

Comments

@Majidbeg
Copy link

commented Aug 29, 2019

Bug Report

Current Behavior
i am trying to get the payload of opened/closed pull request using pro bot but i am not able get the payload for opened/closed pull request. I do however get the payload for merging action .

module.exports = app=> {
         app.on(['pull_request'], async context => {
        app.log("pull request events............")
        app.log(context, "payload for pull request.")
    })

Expected behavior/code
Return a payload response for all the actions of a pull request.

Environment

  • Pro bot version(s): 7.2.0
  • Node/npm version: Node 10.15.3/npm 6.4.1
  • OS: 0.0.17763 Build 17763, Windows 10]
@welcome

This comment has been minimized.

Copy link

commented Aug 29, 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.

@issue-label-bot issue-label-bot bot added the bug 🐞 label Aug 29, 2019

@issue-label-bot

This comment has been minimized.

Copy link

commented Aug 29, 2019

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

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

@Majidbeg

This comment has been minimized.

Copy link
Author

commented Aug 29, 2019

i got the payloads,There was an issue with app.yml file & the event permissions.

@Majidbeg Majidbeg closed this Aug 29, 2019

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