-
Notifications
You must be signed in to change notification settings - Fork 62
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
[BUG]: Create or Update an Environment Secret OctoKit #324
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
Projects
Comments
cxs526
added
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
labels
Jun 20, 2023
ghost
added this to Bugs
in JS
Jun 20, 2023
Can you share a code snippet that reproduces the error you are receiving? Are you using |
Hi,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Status: Triage
This is being looked at and prioritized
Type: Bug
Something isn't working as documented
What happened?
Hi,
I am trying to create an environment secret using OctoKit with JavaScript. I have been following this documentation: https://docs.github.com/en/enterprise-cloud@latest/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-environment-secret.
As per the example code from the above link, I am using the environment public key since we want to make an environment secret. I am using the "key" value from the return: https://docs.github.com/en/enterprise-cloud@latest/rest/actions/secrets?apiVersion=2022-11-28#get-an-environment-public-key. I am getting an "invalid public key length" error. Has anyone else encountered this error?
Versions
Octokit.js v2.0.14
Node v18.16.0
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: