Questions tagged [probot]

Use this tag for questions about problems faced when developing apps with Probot, a framework for building GitHub Apps in Node.js.

Tag Usage

While adding the tag to the question, please make sure you have added the error messages in the console to your answer.

The tag should be used in the questions about problems related to:

Other resources

Probot's Official Website

Probot's Documentation

Probot Featured Applications

Probot's Community

Extending with GitHub: easy integrations with Probot - GitHub Universe 2017

52 questions
9
votes
1 answer

Creation of probot.github app failing with Error: The programmatic API was removed in npm v8.0.0

I am trying to install probot.github app using the command npx create-probot-app my-first-app from the link: https://probot.github.io/docs/development/. I am using the latest node v19.3.0 with npm version 9.2.0. But the app is not getting created…
merilstack
  • 703
  • 9
  • 29
6
votes
0 answers

GitHub ERROR probot: Integration not found, documentation_url

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",…
hmcollins3
  • 61
  • 2
6
votes
1 answer

GitHub Probot : ERROR probot : signature does not match event payload and secret

I am trying to build a GitHub app using Probot Framework. Here's the content of file index.js: module.exports = (robot) => { robot.log('Yay, the app was loaded!'); robot.on('*', async context => { robot.log('Some event occured!'); …
abhijeetps
  • 4,609
  • 4
  • 17
  • 30
3
votes
0 answers

503: Service Unavailable AWS Lambda with Github Probot

I'm trying to receive webhooks from Github using a probot application, but every single time I try this, I get a {"message":"Service Unavailable"} error. Github sends this payload to an AWS Lambda function, and by googling (i think) this is an issue…
Ganning Xu
  • 263
  • 4
  • 13
3
votes
0 answers

List github issue revisions - octokit

I'm developing a probot application to prevent disclosure of sensitive information on github issues. When I edit out the sensitive information from the github-issue, the information can still be viewed on the post's edit history (revision history)…
Zaiton
  • 31
  • 6
3
votes
1 answer

Probot App throwing "Resource Not Accessible By Integration" when trying to merge PRs

I have been trying to create a simple Probot app that amongst other things will merge PRs on certain criteria being met. (I am aware prebuilt solutions are available, however not only do they not quite fit my needs, I won't learn anything). Using…
Matt Smith
  • 31
  • 1
3
votes
1 answer

GitHub API - "Get contents" continually returning 404 for valid path

I'm using probot => https://probot.github.io/ I've been developing a GitHub application that analyses a specific .json file in a repo for changes to date strings. I do this by subscribing to the push event and watching it with a webhook. I am using…
captainrad
  • 3,760
  • 16
  • 41
  • 74
3
votes
0 answers

Add label or failing check to Pull Request with (merge) conflict on GitHub?

If you work with GitHub project boards for PR management, it is quite important to be able to know about the status of a PR. Test failures are made available via the read x or green checkmark via checks, but (merge) conflicts are not visible in any…
janpio
  • 10,645
  • 16
  • 64
  • 107
3
votes
1 answer

GitHub Probot : ERROR probot: Bad Request

I am developing an application for Probot. I have configured .envand already downloaded PEM file in the folder. Here is the content of file index.js. module.exports = (robot) => { robot.on('issues.opened', async context => { const params =…
user8208104
2
votes
1 answer

Cannot create an app that listens the webhook "pull_request_review_thread"

I am trying to create a simple app that will output the payload after the webhook "pull_request_review_thread" is triggered with any action. Here is the link to the related webhook: Pull_request_review_thread Github Docs However, this…
2
votes
0 answers

Probot: How to use probot without proxy?

Currently Probot seems need to use smee.io proxy to work. How can I use probot framework without proxy? In other words, use ther server IP directly.
tigercosmos
  • 345
  • 3
  • 17
1
vote
1 answer

How to create a branch using probot (octokit)?

I want to create a branch using Probot. Seeing that it uses octokit/rest.js, I went over the octokit docs but couldn't find a method to do so. So how do I create a branch? Also note that I mean to create a branch so I can pull request later. Edit:…
1
vote
1 answer

Get corresponding PR from Github deployment status webhook

I am creating a Github app that listens for deployment_status.created webhook events. The webhook is triggered when a PR is automatically deployed (using a 3rd party Github app). When the deployment has a certain state, e.g. success, I want to add a…
Joost
  • 334
  • 4
  • 15
1
vote
2 answers

How to edit files using (pro)bot on GitHub?

I'm building a GitHub bot using probot framework for editing the README.md of the repository but so far I could not find a way to edit files using probot and neither using any other GitHub bot framework. So is it possible to edit files using bots on…
atin
  • 985
  • 3
  • 11
  • 28
1
vote
2 answers

Check if a Github repo was created using a template from Probot

I have an Github Bot (Probot) that I use to handle automation for things like naming conventions etc etc. I also have a number of teams that we use for controlling visibility and I was wondering if it's possible to use the Probot to assign certain…
cshocks
  • 11
  • 1
1
2 3 4