probot

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

GitHub ERROR probot: Integration not found, documentation_url

…衆ロ難τιáo~ 提交于 2019-12-07 09:19:49
问题 I had issues with authentication when working with GitHub's Probot app. When I ran the app using npm start, I would get github: Github request: GET /app/installations - 404 Not Found and ERROR probot: {"message":"Integration not found", "documentation_url": " https://developer.github.com/v3 "} I later found that the reason I was getting this issue was because I was working from a GitHub Enterprise account and needed to add an extra variable to my .env file: GHE_HOST=github.your_company.com

GitHub ERROR probot: Integration not found, documentation_url

故事扮演 提交于 2019-12-05 17:32:45
I had issues with authentication when working with GitHub's Probot app. When I ran the app using npm start, I would get github: Github request: GET /app/installations - 404 Not Found and ERROR probot: {"message":"Integration not found", "documentation_url": " https://developer.github.com/v3 "} I later found that the reason I was getting this issue was because I was working from a GitHub Enterprise account and needed to add an extra variable to my .env file: GHE_HOST=github.your_company.com After restarting my app, I no longer had those issues. 来源: https://stackoverflow.com/questions/50844416