khulnasoft/Khulnasoft Database Create Branch Action
Creates a new Khulnasoft Postgres branch based a parent branch. If the branch already exists it will return the branch details
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit May 22, 2024
- License
- None
Pinned Snippet
uses: khulnasoft/create-branch-action@d5deded22272800a4e56324f81b40ff17ee0a2b3 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| project_id | The project id | yes | — |
| branch_name | The branch name | no | — |
| api_key | The Khulnasoft API key | yes | — |
| username | The db role name | yes | — |
| database | The database name | — | khulnasoftdb |
| prisma | Use prisma or not | — | false |
| parent | The parent branch name or id or LSN or timestamp. By default the primary branch is used | — | — |
| suspend_timeout | Duration of inactivity in seconds after which the compute endpoint is For more information, see [Auto-suspend configuration](https://khulnasoft.tech/docs/manage/endpoints#auto-suspend-configuration). | — | 0 |
| ssl | Add sslmode to the connection string. Supported values are: "require", "verify-ca", "verify-full", "omit". | — | require |
Outputs
| name | description |
|---|---|
| db_url | New branch DATABASE_URL |
| db_url_with_pooler | New branch DATABASE_URL with pooling enabled |
| host | New branch host |
| host_with_pooler | New branch host with pooling enabled |
| branch_id | New branch id |
| password | Password for connecting to the new branch database with the input username |