We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I just managed to make it work, the problem is as soon as i comment on an issue the bot enter in an infinite loop and respond every second.
How to avoid this ?
module.exports = app => { // Your code here app.log('Yay, the app was loaded!') const regexMatch = matchRobTalks(context) app.on('issue_comment', async context => { const issueComment = context.issue({ body: "Hey, I'm :robot: created by taie" }); return context.github.issues.createComment(issueComment) })
}
The text was updated successfully, but these errors were encountered:
Found it ..
God i'm dumb
just added :
if (context.payload.sender.type != "User") { return
in the app.on
Sorry, something went wrong.
No branches or pull requests
So I just managed to make it work, the problem is as soon as i comment on an issue the bot enter in an infinite loop and respond every second.
How to avoid this ?
}
The text was updated successfully, but these errors were encountered: