Skip to content
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

Update Oktokit dependencies. #191

Closed
wants to merge 1 commit into from
Closed

Update Oktokit dependencies. #191

wants to merge 1 commit into from

Conversation

IronSean
Copy link

@IronSean IronSean commented Sep 21, 2021

A number of oktokit api methods were unavailable in the current version of this action, I bumped them to their highest available non-breaking versions. There's a version 5.. of @octokit/plugin-rest-endpoint-methods but it moves all of the API endpoints from oktokit.* to oktokit.rest.* which would be a breaking change for users of the github-script action, so I leave that as a future exercise.

You can test my fork with ironsean/github-script@v-test.

Fixes #133

@kimmoahokas
Copy link

Could you update the @actions libraries as well? For example @actions/core 1.5.0 seems to bring quite a lot of new features.

@joshmgross
Copy link
Member

👋 Hey @IronSean,

Thanks for this! It can be difficult to review package dependency updates in a safe manner due to the large number of changes.

I've bumped all the minor versions in #192

For fixing #133, we'll need to making some major version updates which will require a new major version of this action.

@joshmgross joshmgross closed this Sep 23, 2021
@IronSean
Copy link
Author

IronSean commented Oct 5, 2021

@joshmgross I'm 10% disappointed I don't get to count as a contributor since you opened your own PR, but 90% happy that the fix is in and merged quickly 👍

@joshmgross
Copy link
Member

Oops, sorry about that @IronSean.

I added you to https://github.com/actions/github-script/releases/tag/v5.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: github.repos.createOrUpdateEnvironment is not a function - Octokit.js Support up-to-date?
3 participants