- Notifications
You must be signed in to change notification settings - Fork470
make octokit instance available as octokit on top of github, to make it easier to seamlessly copy examples from GitHub rest api or octokit documentations#508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the suggestion@iamstarkov - my one concern with this change is that users may assume |
iamstarkov commentedJan 19, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
my two cents would be that I used github-scripts heavily in the last few years and I'd not make that mistake, and also I think javascript developers are grown to know the difference Class and an instance. And my last argument will be that consistency with documentation will lead to net-smaller confusion after all. What do you think? |
@iamstarkov I'm fine with this change - could we update the documentation as well to make it clear that this is an option? |
@joshmgross absolutely |
…it easier to seamless to copy examples from GitHub api or octokit documentation
…Hub still being available
@joshmgross updated documentation as we agreed, feel free to take a look |
checked out project locally, adjusted types and committed updated dist folder accordingly |
iamstarkov commentedJan 31, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I have off topic to PR question, which i'm curious about GitHub assigned this PR toa team without assigning anyone. isCODEOWNERS correct and@actions/actions-launch exists, but its not public? |
@iamstarkov yes that is a team, that's not my area of GitHub but my understanding is that organization teams are never public and can only be internal to all organization members or hidden. |
378a50f
intoactions:mainUh oh!
There was an error while loading.Please reload this page.
how does the release process look like for this action? I noticed41 unreleased commits since last release |
Uh oh!
There was an error while loading.Please reload this page.
examples on GitHubapi documentation use octokit as an octokit instance, so does theoctokit documentation itself. its kinda a bummer to always rename when you copy from documentation or from another files.
I understand that octokit was made available over the github keyword, and I dont want to break that, but it won't hurt nobody to expose octokit instance over the octokit keyword as well and it will help people who use documentation a lot
what do you think? if this is something you are up for adding, let me know and I adjust documentation accordingly