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
0
votes
1 answer

Using Probot to create a Github issue on response from express route

Is it possible to use Probot to create an issue on response from an express route? I've tried the following, but they async function can't access context.github. const createIssue = async function (issue, context) { const owner = issue.owner;…
Antonio B
  • 45
  • 9
0
votes
1 answer

How to get names of all branches in repository?

For example, I have five branches in the current repository, and their names are: master, branch1, branch2, branch3, and branch4. Use the typescript language for probot build to get these names. What I have tried: import { Application } from…
0
votes
1 answer

How can I enable GitHub preview features, like topics?

I'm using Apps - listRepos to get a list of all the repositories installed on my Probot GitHub application. I want the response data to include the GitHub topics for each repository. This is currently only available as a preview feature: The topics…
4D4M
  • 11
  • 2
0
votes
1 answer

Probot version 7.2 is not starting my app

With probot 7.2, if I create a simple index.js like module.exports = app => { app.log('YYYYYYYEEEEEEEEEEEAAAAAAAAAAAHHHHHHHHH it is working!!!!') } This export is not working, as when I run the application, I never see my log message. The npm run…
wargre
  • 4,575
  • 1
  • 19
  • 35
0
votes
2 answers

Is it possible to perform an action with `context` on the init of the app?

I'm simply looking for something like this app.on('init', async context => { ... }) Basically I just need to make to calls to the github API, but I'm not sure there is a way to do it without using the API client inside the Context object.
TKrugg
  • 2,255
  • 16
  • 18
0
votes
1 answer

Tests with Probot API from GitHub and Smee failing to accept payload?

I'm posting some sample data to my Smee endpoint and I am also running a local instance of my ProBot app. I get a bad request in my bot logs and I see this is the Smee response: { Error: cannot POST / (400) at Response.toError…
Ryan S
  • 155
  • 2
  • 16
0
votes
1 answer

GitHub Probot : Error deploying Probot app on Now

I cloned wip-bot and tried to deploy the bot on Now. I followed all the instructions given here (All steps): https://probot.github.io/docs/deployment/#now However, while deploying I faced the following error:…
abhijeetps
  • 4,609
  • 4
  • 17
  • 30
1 2 3
4