* webhook-types:
Test for context.isBot
Add test for deprecated receive behavior
Add strong typing for exported webhooks property
Fix deprecation warnings
Make most webhook payload properties optional for now
Move webhook type declarations
* ts-extract-github-adapter: (24 commits)
Doc tweaks
Remove @private
Fix accidental change to catchErrors in constructor
Add deprecations for `app.app()` and `app.auth`
Rename `adapter` to just `github`
chore(package): update ts-jest to version 23.0.0 (#602)
chore(test): Convert application tests to TypeScript (#614)
Clarifies the Probot requires a webhook secret (#621)
chore(test): Run tslint against tests (#622)
Tweak formatting of config docs (#603)
Fix: Improve typing of Context (#617)
fix: Make cacheErrors option optional (#616)
7.0.1
Update ocotokit/rest.js to v15.9.4 (#610)
fix: Remove extra event setting (#611)
Update eslint to the latest version 🚀 (#581)
docs: Fix new contribution grammar (#609)
update the example app id image (#606)
Update links for our API (#604)
Remove next tag (#595)
...
* origin/master:
chore(package): update ts-jest to version 23.0.0 (#602)
chore(test): Convert application tests to TypeScript (#614)
Clarifies the Probot requires a webhook secret (#621)
chore(test): Run tslint against tests (#622)
Tweak formatting of config docs (#603)
Fix: Improve typing of Context (#617)
fix: Make cacheErrors option optional (#616)
7.0.1
Update ocotokit/rest.js to v15.9.4 (#610)
fix: Remove extra event setting (#611)
Update eslint to the latest version 🚀 (#581)
docs: Fix new contribution grammar (#609)
update the example app id image (#606)
Update links for our API (#604)
Remove next tag (#595)
7.0.0
Various cleanup and fixes from TS checklist (#585)
Add some documentation about TS to README and CONTRIBUTING (#590)
chore: Use tslint-config-standard (#594)
* ts-extract-github-adapter:
chore(package): update @types/jest to version 23.1.3 (#593)
Revert "Configuration: DISABLE_STATS=true" (#591)
chore(package): update @types/jest to version 23.0.0 (#555)
docs(configuration): DISABLE_STATS=true (#578)
fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
Adds error case (#589)
doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings
(#588)
chore: Replace jsdoc with typedoc (#583)
Adds missing awaits (#584)
doc: Update robot => app in README (#586)
docs: clarify GitHub apps as GA in 2.13 and above (#579)
docs: Tweak payload info in testing.md (#575)
add backticks (#574)
docs: Typo (#572)
fix: Throw if GHE_HOST includes a protocol (#570)
feat: app.load() (#554)
fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API
requests that the stats endpoint makes for spammy accounts (#566)
add env config docs (#544)
* origin/master:
chore(package): update @types/jest to version 23.1.3 (#593)
Revert "Configuration: DISABLE_STATS=true" (#591)
chore(package): update @types/jest to version 23.0.0 (#555)
docs(configuration): DISABLE_STATS=true (#578)
fix: Fix path to GraphQL API when using GitHub Enterprise (#580)
Adds error case (#589)
doc: Clarify that `WEBHOOK_SECRET` needs to match GitHub settings
(#588)
chore: Replace jsdoc with typedoc (#583)
Adds missing awaits (#584)
doc: Update robot => app in README (#586)
docs: clarify GitHub apps as GA in 2.13 and above (#579)
docs: Tweak payload info in testing.md (#575)
add backticks (#574)
docs: Typo (#572)
fix: Throw if GHE_HOST includes a protocol (#570)
feat: app.load() (#554)
fix: Optimize IGNORED_ACCOUNTS check to reduce the number of API
requests that the stats endpoint makes for spammy accounts (#566)
add env config docs (#544)
* origin/master:
fix(package): update dotenv to version 6.0.0 (#556)
chore: Remove noImplicitAny and add types to params (#546)
chore: Convert Context tests to TypeScript (#541)
chore(package): Update bottleneck to the latest version 🚀 (#562)
This replaces all internal references to "robot" with "app" or
"Application". There should be no functional change in public APIs, but
may cause some issues for anyone using internal APIs.
* add spammy user ignorance and test - not sure why failing 😭
* set account.stars to 0
* use id 1 for test user to properly authenticate
* delete process.env.ignored_accounts on aftereach
* add extra line
Turns out that the `per_page` & `page` params are missing in [routes.json](https://github.com/octokit/rest.js/blob/master/lib/routes.json#L1682-L1687), which means, with the previous implementations, they have been ignored!
The new implementation automatically passes all remaining options as query parameter (for `GET` requests) so it works anyway.
So tl;dr: the new release actually fixed a bug, getting the stats will be more performant now, as it gets 100 results instead of 30