Go to file
renovate[bot] 89fdd54002
chore(deps): update dependency @types/node to v22
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 10:15:31 -08:00
.codesandbox fix: throttleOption defaults and REDIS_URL configuration (#1313) 2020-09-01 10:09:40 -07:00
.github test: update node versions 2024-10-16 15:37:45 -04:00
.typedoc fix(docs): Re-enable Google Analytics (#2046) 2024-07-09 16:34:51 -07:00
bin refactor: move probot commands into `src/bin/` folder 2020-11-19 16:36:25 -08:00
docs docs(testing): use `ProbotOctokit.defaults()` callback (#2040) 2024-07-01 17:03:30 +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(types): avoid TS2590 errors in `Context` (#2073) 2024-08-06 11:57:24 +02:00
static fix: update design of probot landing page (#1508) 2021-04-19 17:12:32 -07:00
test fix: remove eventsource dependency (#2052) 2024-07-13 11:57:36 +02: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 chore(deps): update dependency @types/node to v22 2024-11-09 10:15:31 -08:00
package.json chore(deps): update dependency @types/node to v22 2024-11-09 10:15:31 -08: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!