question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ability to use own Octokit version

See original GitHub issue

It would be fantastic if I could easily use my own version of the Octokit library while reusing the configuration provided by Probot.

const myOctokit = require( '@octokit/rest' );
const myGitHub = new myOctokit( robot.context.octokitConfig );

If this is already possible, it would be great to document it somewhere.

(I’d like to use the new Checks API without updating Probot.)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
gr2mcommented, May 16, 2018

The two projects are tight together closely, we will do better keeping @octokit/rest updated to the latest version, I’ll take care of it myself.

I’ll also unpin the version and make sure not to break probot with an feature/fix update of @octokit/rest, so you’ll get the new versions automatically with a fresh npm install

Uncoupling the two would create tough challenges to enforce compatibility, I really don’t think it’s a good idea

0reactions
stale[bot]commented, Sep 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

octokit/rest.js - GitHub Pages
Add custom labels to a self-hosted runner for an enterprise; Disable a selected ... In order to use Octokit with GitHub Enterprise, set...
Read more >
GitHub Automation with Octokit (with Gregor Martynus)
GitHub has powerful APIs, and with Octokit we can do just about anything on GitHub through code. Gregor Martynus will teach us how!...
Read more >
GitHub Automation with Octokit - Learn With Jason
No, so Octokit is basically a set of SDKs across all languages and it started with Octokit.rb, which is the Ruby version, which...
Read more >
Using the octokit.net library to update a submodule commit ...
I can see in the github documentation (https://developer.github.com/v3/git/trees/#create-a-tree) there is a submodule option when creating a new ...
Read more >
Automate GitHub API Calls With Ruby, Keyboard Maestro, and ...
How I automate inviting Ruby on Mac Ultimate customers to the private GitHub repo with Keyboard Maestro, the Octokit gem, and 1Password CLI....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found