Go to file
Nick Partridge 559f4374d4
docs: fix localhost link protocol (#1691)
2022-05-23 15:24:38 -07:00
.codesandbox fix: throttleOption defaults and REDIS_URL configuration (#1313) 2020-09-01 10:09:40 -07:00
.github build(test.yml): set node-version to 16 2021-09-17 16:58:28 -07:00
bin refactor: move probot commands into `src/bin/` folder 2020-11-19 16:36:25 -08:00
docs docs: fix localhost link protocol (#1691) 2022-05-23 15:24:38 -07:00
script ci: updates docs push action by fetching tags & setting the correct tag (#1236) 2020-05-26 14:02:01 -07:00
src fix: Replaced hbs with express-handlebars (#1659) 2022-03-08 07:50:55 -08:00
static fix: update design of probot landing page (#1508) 2021-04-19 17:12:32 -07:00
test fix: Replaced hbs with express-handlebars (#1659) 2022-03-08 07:50:55 -08:00
views fix: Replaced hbs with express-handlebars (#1659) 2022-03-08 07:50:55 -08:00
.editorconfig Add editorconfig 2016-09-16 11:45:59 -07:00
.gitignore test: remove `test/fixtures/test-private-key.pem` from gitignore 2020-12-07 21:14:05 -08:00
.typedoc.json build(package): bump package and package-lock (#1636) 2022-01-18 09:46:02 -08:00
CODE_OF_CONDUCT.md fix: Update to Contributor Covenant v2 (#1515) 2021-04-26 10:14:48 -07:00
CONTRIBUTING.md v10.0.0 2020-09-01 10:09:40 -07:00
LICENSE v10.0.0 2020-09-01 10:09:40 -07:00
README.md docs: wrong log call in `onError` method (#1681) 2022-04-26 13:43:36 -07:00
README.pt-br.md docs: update for serverless/function milestone and new v11 APIs (#1467) 2021-02-12 13:08:51 -08:00
codecov.yml chore: Disable codecov comments (#543) 2018-05-22 22:41:44 -07:00
package-lock.json build(deps): bump minimist from 1.2.5 to 1.2.6 2022-04-14 07:45:58 -07:00
package.json fix: Replaced hbs with express-handlebars (#1659) 2022-03-08 07:50:55 -08:00
tsconfig.json v10.0.0 2020-09-01 10:09:40 -07:00

README.md

Probot's logo, a cartoon robot

Probot

A framework for building GitHub Apps to automate and improve your workflow

npm Build Status Codecov @ProbotTheRobot on Twitter


If you've ever thought, "wouldn't it be cool if GitHub could…"; I'm going to stop you right there. Most features can actually be added via GitHub Apps, which extend GitHub and can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. Apps are first class actors within GitHub.

How it works

Probot is a framework for building GitHub Apps in Node.js, written in TypeScript. GitHub Apps can listen to webhook events sent by a repository or organization. Probot uses its internal event emitter to perform actions based on those events. A simple Probot App might look like this:

module.exports = (app) => {
  app.on("issues.opened", async (context) => {
    const issueComment = context.issue({
      body: "Thanks for opening this issue!",
    });
    return context.octokit.issues.createComment(issueComment);
  });

  app.onAny(async (context) => {
    context.log.info({ event: context.name, action: context.payload.action });
  });

  app.onError(async (error) => {
    app.log.error(error);
  });
};

Building a Probot App

If you've landed in this GitHub repository and are looking to start building your own Probot App, look no further than probot.github.io! The Probot website contains our extensive getting started documentation and will guide you through the set up process.

This repository hosts the code for the npm Probot package which is what all Probot Apps run on. Most folks who land in this repository are likely looking to get started building their own app.

Contributing

Probot is built by people just like you! Most of the interesting things are built with Probot, so consider starting by writing a new app or improving one of the existing ones.

If you're interested in contributing to Probot itself, check out our contributing docs to get started.

Want to chat with Probot users and contributors? Join us in Slack!

Ideas

Have an idea for a cool new GitHub App (built with Probot)? That's great! If you want feedback, help, or just to share it with the world you can do so by creating an issue in the probot/ideas repository!