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
Unable to set a Dependabot secret with selected repos #6934
Comments
For completion, when I run the same command on
|
@juanitosvq Thanks for writing in with the bug. I was able to confirm that this is the same issue as google/go-github#2401 where we are sending integers for repository ids instead of strings. This is a weird inconsistency in the Dependabot API as all other secret endpoints request integers. I am checking internally if this is something that is being addressed or if we should create a workaround here in |
@joshmgross do you have insight here re: #6923? |
@mislav we should use the same workaround for Dependabot org secrets that #6923 had for Codespaces user secrets. It'd be worth tracking this internally and fixing, but this API is available on GHES as well - https://docs.github.com/en/enterprise-server@3.7/rest/dependabot/secrets |
Great, sounds like we have a path forward with creating a workaround. I will assign myself and open a PR to fix this. |
Describe the bug
When trying to save a Dependabot secret with selected repos using the CLI, I get an error saying that the selected repository is not of type string. See logs below.
This is happening running the CLI locally but also inside an action:
Seems similar to google/go-github#2401?
Steps to reproduce the behavior
See logs
Expected vs actual behavior
Should be able to save a Dependabot secret with selected repos.
Logs
Paste the activity from your command line. Redact if needed.
The text was updated successfully, but these errors were encountered: