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

DB URL does not contain the current database name #50

Open
angelinashepherd opened this issue Apr 30, 2024 · 1 comment
Open

DB URL does not contain the current database name #50

angelinashepherd opened this issue Apr 30, 2024 · 1 comment

Comments

@angelinashepherd
Copy link

angelinashepherd commented Apr 30, 2024

Steps to reproduce

  1. use neondatabase/create-branch-action@v4 to create a new branch
  2. specify project_id, username, branch_name, and api_key parameters
  3. echo db_url output echo "NEON_DATABASE_URL=${{ steps.create-staging-branch.outputs.db_url }}"

Expected result

  • db_url property should have the correct database name at the end of the URL

Actual result

  • db_url has generic neondb as database name in generated db_url
@duskpoet
Copy link
Member

duskpoet commented May 1, 2024

Hey! Thank you for reporting this misbehavior!
The action supports passing the database name but defaults to the "neondb".
I will add a check to validate the passed or defaulted database name

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

No branches or pull requests

2 participants