Skip to content

steffen/rate-limit-probot

Repository files navigation

rate-limit-probot

A Probot app that supports a /debug command in issue and pull request comments which helps debugging rate limit issues with Probot apps.

Usage

/debug rate_limit

Creates a comment with the current rate limit status.
Note that GitHub App installations may have a higher rate limit depending on number of users and repositories, see here.

/debug rate_limit

/debug installation_id

Creates a comment with the installation ID. Note that rate limits count per installation.

/debug installation_id

/debug graphql_query

Makes a GraphQL request that counts against the GraphQL rate limit and creates a comment with the returned GraphQL rate limiting field values.

/debug graphql_query

Setup

# Install dependencies
npm install

# Run the bot
npm start

Contributing

If you have suggestions for how rate-limit-probot could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2019 Steffen Hiller [email protected]

About

Sample Probot app for debugging rate limits

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published