Returns an Octokit instance with default settings for authentication. If
a githubToken is passed explicitly, the Octokit instance will be
pre-authenticated with that token when instantiated. Otherwise Octokit's
app authentication strategy is used, and options.auth options are merged
deeply when instantiated.
Besides the authentication, the Octokit's baseUrl is set as well when run
against a GitHub Enterprise Server with a custom domain.
Returns an Octokit instance with default settings for authentication. If a
githubTokenis passed explicitly, the Octokit instance will be pre-authenticated with that token when instantiated. Otherwise Octokit's app authentication strategy is used, andoptions.authoptions are merged deeply when instantiated.Besides the authentication, the Octokit's baseUrl is set as well when run against a GitHub Enterprise Server with a custom domain.