Commit Graph

333 Commits

Author SHA1 Message Date
Zxilly 26665e66fe
docs: add necessary env suggestion for vercel (#2000)
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
2024-04-10 20:36:21 +00:00
Harry Dobrev d1952641f2
feat(run): allow passing `Octokit` and `log` (#1984) 2024-03-12 10:00:08 -07:00
Aaron Dewes 7583bdf293
docs: Make examples ESM (#1957)
* docs: Make examples ESM

* Revert accidential change
2024-03-08 21:42:11 +01:00
wolfy1339 948a1b7147
feat: v13 (#1874)
BREAKING CHANGE: Drop support for NodeJS < 18
BREAKING CHANGE: replace node-fetch with the Fetch API
BREAKING CHANGE: default webhookPath is now /api/github/webhooks
BREAKING CHANGE: probot receive now only supports payloads in JSON format, previously also (unintionally) allowed JS.

closes #1643


---------

Co-authored-by: Aras Abbasi <aras.abbasi@googlemail.com>
Co-authored-by: Alexander Fortin <shaftoe@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aaron Dewes <aaron.dewes@protonmail.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
Co-authored-by: Aaron Dewes <aaron@runcitadel.space>
Co-authored-by: prettier-toc-me[bot] <56236715+prettier-toc-me[bot]@users.noreply.github.com>
Co-authored-by: Yaseen <9275716+ynx0@users.noreply.github.com>
2024-01-25 16:03:28 -05:00
Sangwon Kim 76f3376070
docs: Fix 404 links (#1678)
Co-authored-by: scon.io <iam@scon.io>
Co-authored-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-11-14 09:57:55 +01:00
Aaron Dewes c1f0767427
docs: Fix previous/next button (#1898) 2023-11-14 07:41:04 +01:00
ElisarEisenbach 6e3070f978
docs: fix link (#1774) 2023-01-09 17:11:24 -08:00
Tomer Figenblat fac5b43584
docs: added an example reference for a bot tested with mocha and sinon (#1744)
Signed-off-by: Tomer Figenblat <tomer.figenblat@gmail.com>
2022-09-11 14:18:36 -07:00
borgmanJeremy d5e22e3979
docs(deployment): Update Heroku branch name (#1701)
Update deployment.md

Heroku default deployment branch is now named "main" not "master"
2022-07-08 09:56:41 -07:00
Nick Partridge 559f4374d4
docs: fix localhost link protocol (#1691) 2022-05-23 15:24:38 -07:00
Tomer Figenblat 3a7bbb2e1a
docs: added an example of an aws deployment without the serverless framework (#1683)
Signed-off-by: Tomer Figenblat <tomer.figenblat@gmail.com>
2022-05-19 13:32:58 -07:00
Zane c34f64d2f4
docs: fix 404 links for classes and rel links (#1649)
Co-authored-by: Aaron Dewes <aaron.dewes@protonmail.com>
2022-02-17 10:05:57 -08:00
Allen Hernandez 5d232e2d86
docs(webhooks): `onAny` code sample fix (#1648) 2022-02-10 13:28:11 -08:00
chris-schra ec92db2c0c
docs(development): fix `ProbotOctokit` usage example (#1637) 2022-01-18 17:45:40 +00:00
Yadhav Jayaraman 992b480073
feat: customize account name for manifest creation flow using `GH_ORG` environment variable (#1606) 2022-01-10 16:34:23 -08:00
Thomas Knickman 718025d161
docs(logging): typo (#1601) 2021-10-15 16:20:16 +00:00
Maximous Black 624b934155
docs: add `webhooksPath` option for `createNodeMiddleware` (#1588) 2021-08-31 18:31:23 +00:00
Salih Özdemir 803fa2f00d
docs: Minor fixes (#1582) 2021-08-15 12:33:27 -07:00
Lisa Dean 41f2bb1bbb
docs: fix broken image link in development doc (#1578) 2021-07-15 10:33:00 -07:00
Travis Northcutt ef70c58148
docs: Correct wrong link to `Developing an App` page (#1572)
Co-authored-by: Aaron Dewes <aaron.dewes@web.de>
2021-07-08 11:54:46 -07:00
Hidde Wieringa 758fb5fdb5
docs: fix port variable in Probot server configuration documentation (#1567)
Something else: the link at the bottom of https://probot.github.io/docs/configuration/ to edit the documentation also does not work.
2021-07-05 10:30:02 -07:00
Aaron Dewes 7a43e9e5d4
feat(website): 11ty 🚀 (#1516) 2021-07-02 17:51:45 -07:00
Alain Hélaïli be1711ee6d
docs(development): Need to restart once before receiving (#1442)
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
2021-06-21 22:14:12 +00:00
Jacopo Daeli 01c2006700
feat(logger): custom message key (#1546) 2021-06-01 20:23:40 +00:00
zuigon 6dec1fa5f0
docs: fix missing backtick (#1523)
Add missing backtick in redis code example
2021-05-07 13:17:33 -07:00
Ravgeet Dhillon 9eb3e973a8
docs(deployment): netlify functions (#1507) 2021-04-20 00:43:50 -07:00
Froilán Irizarry Rivera fa4a95c69b
Remove grave accents (`) from header texts (#1493)
The ` punctuation in header texts are breaking anchor links. The anchor links are being rendered with a
code prefix and suffix by "probot/probot.github.io", Eg. #use-coderuncode.

I've removed the ` punctuations from the header texts to fix this.
2021-04-05 19:12:36 -07:00
Jaylen Wimbish 5b79ce2f89
docs: update sentence to include the word use (#1500)
add the word "use" to the sentence in the section "use probot"
2021-04-05 18:56:52 -07:00
Zack Koppert f053bf84ec
docs(deployment): GitHub Actions example repo link (#1484) 2021-03-10 16:30:28 -08:00
Riyadh Al Nur 3f57c70185
docs: new example for AWS Lambda (#1479) 2021-03-03 10:27:14 -08:00
wolfy1339 9a24f9dcb5
feat: add `onAny` and `onError` methods from `@octokit/webhooks` (#1480)
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
2021-03-01 10:14:14 -08:00
Wissam Abirached 2c97c99ea8
docs(deployment): remove obsolete "serverless" section (#1478)
The _serverless_ section had a broken link since the specific _serverless_ page was removed [here](c612fc903d#). Furthermore, it feels redundant to keep this section now that we have a section about _serverless functions_ in this _deployment_ page.

* Update deployment.md

Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
2021-02-18 13:24:09 -08:00
Gregor Martynus c0710a20b2 docs: update next links 2021-02-12 13:25:59 -08:00
Gregor Martynus c612fc903d
docs: update for serverless/function milestone and new v11 APIs (#1467) 2021-02-12 13:08:51 -08:00
Armin Sebastian dc7dc324c2
docs: remove probot-messages extension (#1455) 2021-01-08 11:30:35 -08:00
Gregor Martynus 15e4b00702 feat: probot v11
BREAKING CHANGE: TBD
2020-12-15 13:54:49 -08:00
Gregor Martynus 42b043e588
feat: un-deprecate `(app) => {}`. Deprecate `({ app, getRouter }) => {}` in favor of `(app, { getRouter }) => {}` (#1441)
see discussion at https://github.com/probot/probot/issues/1286#issuecomment-744094299
2020-12-15 11:04:32 -08:00
Oscar Romero 41820c3358
docs(webhooks): typo in usage example (#1445) thanks @homeles 2020-12-14 14:56:45 -08:00
Gregor Martynus 3aa0d5fd53
docs: log stubbing (#1355)
resolves #1273
2020-12-08 11:58:27 -08:00
Gregor Martynus f6a7970292
refactor: `webhooks.on("*")` is now `webhooks.onAny()` (#1401) 2020-12-07 21:41:58 -08:00
Gregor Martynus d315f0c2b6 feat: `createProbot()`, `createNodeMiddleware(app, { probot })`. Deprecates `getOptions`, `createNodeMiddleware(app, { Probot })` (#1431) 2020-12-07 21:14:05 -08:00
Gregor Martynus 0343d5119e docs(Serverless deployment): add node middleware 2020-12-07 21:14:05 -08:00
Gregor Martynus a771d25303 feat: `getOptions({ env, defaults, overrides })` 2020-12-07 21:14:05 -08:00
Gregor Martynus 3d4b363261 feat: deprecate `probot.load()` 2020-12-07 21:14:05 -08:00
Gregor Martynus a5c78b18e4 docs(testing): remove unused `id` option from code example 2020-12-07 21:14:05 -08:00
Gregor Martynus cea4318106 docs: `context.github` is now `context.octokit` 2020-11-19 16:36:25 -08:00
Gregor Martynus f35b58a54c feat: `import { run } from "probot"`. Deprecates Probot.run() 2020-11-19 16:36:25 -08:00
Gregor Martynus dfc59fc20c feat: deprecate `INSTALLATION_TOKEN_TTL` 2020-11-19 16:36:25 -08:00
Gregor Martynus 2fcc0b5c5c docs(hello-world): `app` is now a `Probot` instance 2020-11-12 16:38:57 -08:00
Gregor Martynus de3adc1169
feat: `getRouter` argument for app function (`({ app, getRouter }) => {}`) (#1406) 2020-11-11 22:28:49 -08:00