alleneubank/Supabase Database Branching Preview

Waits for a Supabase database branch to be ready and returns the database connection details.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 9, 2024
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: alleneubank/supabase-branch-gh-action@32471ec050aa59bcc476c88e4629c438f9a6171e # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
supabase-access-tokenThe Supabase Access Token with experimental features enabled.yes
supabase-project-idThe Supabase Project ID with database branching enabled.yes
git-branchThe name of the Github branch to wait for.no
wait-for-migrationsWhether to wait for migrations to be applied before returning the branch.nofalse
timeoutThe maximum time in seconds to wait for the branch to be ready.no60
namedescription
idThe ID of the branch in Supabase.
nameThe name of the branch in Supabase.
project_refThe project reference ID of the branch in Supabase.
parent_project_refThe parent project ID of the branch in Supabase.
git_branchThe git branch of the branch in Supabase.
pr_numberThe pull request number of the branch in Supabase.
reset_on_pushWhether the branch is reset on push.
branch_statusThe status of the branch in Supabase.
created_atThe creation date of the branch in Supabase.
updated_atThe last update date of the branch in Supabase.
api_urlThe API URL of the branch.
graphql_urlThe GraphQL URL of the branch.
db_hostThe DB host of the branch.
db_portThe DB port of the branch.
db_userThe DB user of the branch.
db_passThe DB password of the branch.
jwt_secretThe JWT secret of the branch.
anon_keyThe anon key of the branch.
service_role_keyThe service role key of the branch.