-
Notifications
You must be signed in to change notification settings - Fork 11
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
neonctl fails any command when running in GitHub Actions context #305
Comments
Hey! Thanks for reporting! |
FWIW, I'm having the exact same issue. I just tried it again, but it's still not working. The Neon API, however, is working for me. |
Mine just went through successfully, thanks for sorting this out! I would love to get more meaningful error messages from the CLI though, since I though it's my API that was the problem, so I rotated the key everywhere as a result, which wasn't very optimal. |
Hmmm I'm still having a problem, @duskpoet. I'm running these from CircleCI, not GH Actions. Could that be the issue? |
Yea, sorry, we had a misnatch between api and our api client |
not sure, maybe something is cached? |
Can you, please, confirm that issue is resolved, @fabuzaid21 ? I am not familiar with CircleCI at all :( |
Starting today,
neonctl
stopped working inside the GitHub runners context, despite me rotating API keys, removing/adding NeonDB GH integration, adding keys manually, ensure all required vars are available, etc.For the sake of consistency, I tried the same commands locally in my terminal, using the same strategy of keeping
NEON_API_KEY
variable exported inside my environment, and the these commands worked as expected.Could there be some blocking happening on the NeonDB side?
BTW, majority of my workflows run NeonDB's own GitHub Actions, such as:
The above all fail with the same eror, same as using
neonctl
directly.Steps to reproduce
Add the following
create_neon_branch
workflow and run it via Pull RequestExpected result
Expected to have
db_url_with_pooler
andbranch_id
available and successful job completionActual result
Environment
node: v22.12.0
npm: 10.9.0
yarn: 1.22.22
Logs, links
The text was updated successfully, but these errors were encountered: