Commit Graph

1358 Commits

Author SHA1 Message Date
Maxim Devoir 30b33021d9 ci: publish docs (#1101)
* fix: use Bash for script

Using `/bin/sh` lead to multiple warnings that could result in errors in some POSIX environments. See [SC2039](https://github.com/koalaman/shellcheck/wiki/SC2039).

* In POSIX sh, [[ ]] is undefined.shellcheck(SC2039)
* In POSIX sh, string replacement is undefined.shellcheck(SC2039)
* Using /bin/sh leads to authentication errors for my CI | https://travis-ci.org/MaximDevoir/probot/builds/631990067

* fix: get latest tag for `VERSION`

Previous commit would retrieve an older tag
2020-01-02 14:30:31 -08:00
James George e0d3072751 fix(cli): fixup invalid args validation (#1099) 2020-01-02 15:56:57 +01:00
Maxim Devoir f90057e9b0 fix: Add `publish-docs` stage to Travis build (#1100) 2020-01-02 15:55:59 +01:00
Maxim Devoir 28a4d43185 fix: Limit webhook-event-check to known events in `/app` response (#1092)
Because `GET /app` does not include many events (e.g. `fork`, `installation`, etc.), we don't want to compare some events to the results of `GET /app`.

In these cases, webhook-event-check will silently ignore verifying whether the GitHub App is subscribed to the event.
2019-12-25 10:37:06 +01:00
jamesgeorge007 f368013729 feat: warn on passing in unknown commands 2019-12-25 10:36:04 +01:00
greenkeeper[bot] 5b86e1bb6a chore(package): update lockfile package-lock.json 2019-12-24 10:41:36 +01:00
greenkeeper[bot] 5c2070de51 chore(package): update @types/node to version 13.1.0 2019-12-24 10:41:36 +01:00
greenkeeper[bot] b8410d3dcf chore(package): update lockfile package-lock.json 2019-12-24 10:41:28 +01:00
greenkeeper[bot] b35379450b chore(package): update @types/resolve to version 1.14.0 2019-12-24 10:41:28 +01:00
Maxim Devoir d8aa4e05ca feat: Initial webhook-event-check feature (#1078) 2019-12-19 17:34:55 +01:00
Maxim Devoir 64254159c5 docs: update create-probot-app section (#1085) 2019-12-19 15:02:57 +01:00
greenkeeper[bot] 467eb67f18 Update semver to the latest version 🚀 (#1083)
* fix(package): update semver to version 7.0.0
* chore(package): update lockfile package-lock.json
2019-12-14 15:30:11 -05:00
Jason Etcovitch df27ed7180
chore(ci): Use GitHub Actions for CI (#1082)
* Add Actions YAML file

* Add macOS, windows

* Use the correct windows OS
2019-12-14 14:00:58 -05:00
Forbes Lindesay 95994a0927 docs: add example using Postgres and update MySQL (#1076)
* docs: add example using Postgres and update MySQL
* docs: update to pass linter
2019-12-13 15:01:51 -05:00
dependabot[bot] 0f777079a2 build(deps): bump npm from 6.12.1 to 6.13.4 (#1081)
Bumps [npm](https://github.com/npm/cli) from 6.12.1 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v6.12.1...v6.13.4)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-13 14:24:26 -05:00
Gregor Martynus 61c05ea76e fix: update bunyan-format and remove earlier type assertion patch
trigger release for changes in https://github.com/probot/probot/pull/1073 /cc @MaximDevoir
2019-11-18 15:34:53 -08:00
Maxim Devoir 96c32db837 chore: remove type assertion 2019-11-18 15:22:38 -08:00
Maxim Devoir 48200a940c chore(package): update lockfile package-lock.json 2019-11-18 15:22:38 -08:00
Maxim Devoir c2f477c5b9 chore(package): update @types/bunyan-format to version 0.2.2 2019-11-18 15:22:38 -08:00
Maxim Devoir d35e3b730e fix: assert stream type 2019-11-17 16:27:25 -08:00
greenkeeper[bot] 24bdbb1f41 chore(package): update lockfile package-lock.json 2019-11-17 16:27:25 -08:00
greenkeeper[bot] 1ea4a750fb chore(package): update @types/bunyan-format to version 0.2.1 2019-11-17 16:27:25 -08:00
Karan Shah e9d1d34a59 docs: proper nock setup (#1067)
Nock should be setup properly so that net connect ONLY gets disabled before each test and then gets enabled and reset again AFTER each test. This is recommended by them here: https://github.com/nock/nock#resetting-netconnect

I bring this up because this really bit me as I used this example in the Probot docs for my Probot tests and when I was testing my express code in a complete separate test, when running `npm test` it would fail. But running the test by itself wouldn't.

This was because `nock.disableNetConnect()` was _bleeding_ onto other tests because it wasn't encapsulated properly.
2019-11-08 12:12:49 -08:00
John Bohannon 9ac0ee1ca9 Fix: bump cache-manager version to allow Probot compilation by @zeit/ncc 2019-11-06 10:13:56 -08:00
Gregor Martynus af2be40db4 fix: adapt for @octokit/plugin-enterprise-compatibility@^1.2.1 2019-11-04 22:00:03 -08:00
Gregor Martynus 7768a970f9 build(package): lock file 2019-11-04 22:00:03 -08:00
Gregor Martynus 677e8f58d1 build(package): downgrade semantic-relaese to stable version 2019-11-04 22:00:03 -08:00
Gregor Martynus a0e90f4d3b build(package): @octokit/plugin-enterprise-compatibility@^1.2.1 2019-11-04 22:00:03 -08:00
greenkeeper[bot] 39c0d83f72 chore(package): update lockfile package-lock.json 2019-11-03 10:26:31 -08:00
greenkeeper[bot] e22571703b chore(package): update tslint-config-standard to version 9.0.0 2019-11-03 10:26:31 -08:00
Maxim Devoir 9cf0f98a82 fix: Use return value of `this` instead of a class (#1060)
Updates return type for changes made in @types/express-serve-static-core by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39025
2019-11-01 19:27:26 -07:00
greenkeeper[bot] 1d87b2dc32 chore(package): update lockfile package-lock.json 2019-11-01 10:24:19 -07:00
greenkeeper[bot] 15e28d59a5 fix(package): update commander to version 4.0.0 2019-11-01 10:24:19 -07:00
Michelle Tilley 159c215219 🎨 Refactor GitHub test 2019-10-30 15:26:24 -07:00
Michelle Tilley b9bb41280a fix: Correctly retry requests after hitting rate or abuse limits 2019-10-30 15:26:24 -07:00
Michelle Tilley edc9f8059a Add tests for default retry and throttle options 2019-10-30 15:26:24 -07:00
Michelle Tilley 30532782cc fix(typescript): add done callback to Paginate interface 2019-10-30 15:24:14 -07:00
greenkeeper[bot] 56415e919e chore(package): update lockfile package-lock.json 2019-10-27 10:38:06 -07:00
greenkeeper[bot] 79f8809e37 chore(package): update @types/dotenv to version 8.2.0 2019-10-27 10:38:06 -07:00
Eric Stern ca3d2f8a58 feat: throw errors during startup if NODE_ENV is production and the application is not in a usable state (#1046) 2019-10-23 12:21:53 -07:00
greenkeeper[bot] 65382de391 chore(package): Update dotenv to the latest version 🚀 (#1040)
* fix(package): update dotenv to version 8.2.0

* chore(package): update lockfile package-lock.json
2019-10-15 22:10:33 -04:00
Maxim Devoir e2599d64dd docs: remove GitHub Actions deployment documentation (#1038) 2019-10-12 14:59:59 -07:00
Justin Beckwith ed1cdf7aba fix: update insecure dependencies 2019-10-12 10:46:21 -07:00
Maxim Devoir c5f7a32e12 fix: read environment variables before initiating logging (#1036) 2019-10-09 15:22:15 -07:00
greenkeeper[bot] 956e260614 chore(package): update lockfile package-lock.json 2019-10-07 16:35:49 -07:00
greenkeeper[bot] 422f7da5fe fix(package): update deepmerge to version 4.1.0 2019-10-07 16:35:49 -07:00
Gregor Martynus bf5275d41f refactor: use Typescripts ReturnType<> instead of mocking all required properties
ping @JasonEtco - like that better?
2019-09-19 09:41:53 -07:00
Gregor Martynus 796a118c9b build: lock file 2019-09-19 09:41:53 -07:00
Gregor Martynus 61be0fd496 feat: @octokit/rest v16.29.0. Besides new methods also plenty of new Typescript definitions 2019-09-19 09:41:53 -07:00
Gregor Martynus 31c3602e96 fix(config): handle cases when `.github/<app name>.yml` is not a file, but a directory, symlink or submodule 2019-09-19 09:41:53 -07:00