-
Notifications
You must be signed in to change notification settings - Fork 444
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 octokit dependency to match online documentation #470
Comments
octokit.rest.copilot.getCopilotSeatDetailsForUser
is renamed/unavailable
This will require updating |
Any update on bumping the dependencies to be consistent with latest Octokit? Getting a similar error for a different command that would be resolved when this consistency is provided.
script is:
|
Any news on this issue. Should we use something else since it's been almost a year since the octokit dependency has not been updated? Thanks |
EDIT: the following is still correct, but due to using an outdated version of octokit. After digging some more, it was deprecated 7 months ago:
It would be solved by updating the octokit dependency to at least 10.1.0.
Previous issue:
Describe the bug
The properties defined in
octokit.rest.copilot
are not consistent with the documentation. It seems the functiongetCopilotSeatDetailsForUser
has been renamed togetCopilotSeatAssignmentDetailsForUser
.According to the octokit doc, the function to get a user's copilot details is done with
Using this method within this action fails.
To Reproduce
Expected behavior
The documented function
getCopilotSeatDetailsForUser
should work, as it does locally.Screenshots
N/A
Desktop (please complete the following information):
Additional context
(I'm not sure if the problem comes from here specifically, but because the same code works locally but not within this action, it's my first hunch)
The text was updated successfully, but these errors were encountered: