neondatabase/Neon Create Branch GitHub Action

Creates a new branch in a Neon project, if the branch already exists it will return the existing branch.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api_keyThe Neon API keyyes
api_hostThe Neon API Hosthttps://console.neon.tech/api/v2
branch_nameThe name of the branch to create
project_idThe Neon project IDyes
parent_branchThe parent branch to create the new branch from
prismaWhether to use prisma or notfalse
databaseThe database nameneondb
roleThe role of the userneondb_owner
branch_typeThe type of branch to create, 'default' or 'schema-only'default
sslThe SSL mode for the connection string. Supported values are: 'require', 'verify-ca', 'verify-full', 'omit'.require
suspend_timeoutDuration of inactivity in seconds after the compute endpoint is suspended0
expires_atDate and time when the branch should be deleted.""
masking_rulesA JSON string representing an array of data masking rules to be applied to the branch. https://api-docs.neon.tech/reference/updatemaskingrules
get_auth_urlWhether to get the neon auth url for the branch. If neon auth is not enabled for this branch, return undefined.false
get_data_api_urlWhether to get the Neon Data API url for the branch. If Data API is not enabled for this branch, return undefined.false
namedescription
db_urlThe database connection string
db_url_pooledThe database connection string with connection pooling
db_hostThe database host
db_host_pooledThe database host with connection pooling
passwordThe database password
branch_idThe ID of the branch
createdWhether the branch was created or reused
auth_urlThe Neon Auth URL for the branch. Undefined if neon auth is not enabled for the branch.
data_api_urlThe Neon Data API URL for the branch. Undefined if Data API is not enabled for the branch.