A helper function used in testing that resets the cached result of /app.
Finds a private key through various user-(un)specified methods. Order of precedence:
PRIVATE_KEY
env varPRIVATE_KEY_PATH
env var.pem
extension in current working dirExplicit, user-defined path to keyfile
Private key
Generated using TypeDoc
the @octokit/rest Node.js module, which wraps the GitHub API and allows you to do almost anything programmatically that you can do through a web browser.
https://github.com/octokit/rest.js