-
Notifications
You must be signed in to change notification settings - Fork 446
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Conversation
Thanks for the suggestion @iamstarkov - my one concern with this change is that users may assume |
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 |
I have off topic to PR question, which i'm curious about GitHub assigned this PR to a team without assigning anyone. is CODEOWNERS 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. |
how does the release process look like for this action? I noticed 41 unreleased commits since last release |
examples on GitHub api documentation use octokit as an octokit instance, so does the octokit 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