Add ability to use own Octokit version
See original GitHub issueIt 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:
- Created 5 years ago
- Reactions:2
- Comments:14 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 installUncoupling the two would create tough challenges to enforce compatibility, I really don’t think it’s a good idea
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.