Go to file
renovate[bot] ef7b9df5e4
fix(deps): update dependencies pino to v9, pino-http to v10 (#2007)
2024-05-07 04:20:10 +00:00
.codesandbox fix: throttleOption defaults and REDIS_URL configuration (#1313) 2020-09-01 10:09:40 -07:00
.github feat(security): Configure provenance (#1997) 2024-04-03 15:29:31 +02:00
bin refactor: move probot commands into `src/bin/` folder 2020-11-19 16:36:25 -08:00
docs docs: add necessary env suggestion for vercel (#2000) 2024-04-10 20:36:21 +00:00
example feat: v13 (#1874) 2024-01-25 16:03:28 -05: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(probot): passes logger to webhooks (#2011) 2024-04-30 20:35:38 -04:00
static fix: update design of probot landing page (#1508) 2021-04-19 17:12:32 -07:00
test fix(probot): passes logger to webhooks (#2011) 2024-04-30 20:35:38 -04: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 chore: repair typedoc (#1950) 2024-01-25 19:18:42 -05: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: Make examples ESM (#1957) 2024-03-08 21:42:11 +01:00
codecov.yml chore: Disable codecov comments (#543) 2018-05-22 22:41:44 -07:00
package-lock.json fix(deps): update dependencies pino to v9, pino-http to v10 (#2007) 2024-05-07 04:20:10 +00:00
package.json fix(deps): update dependencies pino to v9, pino-http to v10 (#2007) 2024-05-07 04:20:10 +00:00
tsconfig.json build(deps): lock file maintenance (#1978) 2024-02-20 08:39:18 +01:00
vitest.config.ts feat: v13 (#1874) 2024-01-25 16:03:28 -05: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:

export default (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 discuss with Probot users and contributors? Discuss on GitHub!

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!