github-app

ERROR event: Not Found; when triggering event from another event : probot app built in nodejs

大城市里の小女人 提交于 2021-02-11 14:13:56
问题 I am building a GitHub app in probot and nodejs and trying to update the PR whenever a pull_request.synchronize event occurs. I know that doesn't make much sense, but the point is I want to be able to update the PR upon the occurrence of a certain event. app.on('pull_request.synchronize', async context => { console.log('---------------------- on pull_request.synchronize, body of PR : ', context.payload.pull_request) console.log('State of PR after pull_request.synchronize event :--------------

Unable to implement check in my integration, getting 'map undefined' for create method of checks

。_饼干妹妹 提交于 2020-06-13 05:57:07
问题 I am trying to implement Checks into my GitHub app. My App is built with probot. I am just not able to implement the checks. I have tried going through the documentation which demonstrate ruby example that includes several different setups(not sure if required with probot). I just got confused with the example there. Below is the code that resides in my index.js : app.on('check_suite.requested', async context =>{ console.log('************------------ check suite requested') await context