neondatabase/Neon Database Reset Branch Action
Resets a Neon branch
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Nov 10, 2025
- Maintenance Recency
- Activelast commit May 11, 2026
- License
- None
Pinned Snippet
uses: neondatabase/reset-branch-action@470ab8101095ea33737c294d17364a72fd80761b # v1.3.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| project_id | The project id | yes | — |
| branch | The branch name or id to reset | yes | — |
| api_key | The Neon API key | yes | — |
| api_host | The Neon API Host | — | https://console.neon.tech/api/v2 |
| parent | If specified, the branch will be reset to the parent branch | no | — |
| cs_role_name | The output connection string db role name | no | — |
| cs_database | The output connection string database name | no | — |
| cs_prisma | Use prisma in output connection string or not | no | false |
| cs_ssl | Add sslmode to the connection string. Supported values are: "require", "verify-ca", "verify-full", "omit". | no | require |
Outputs
| name | description |
|---|---|
| branch_id | Returns the branch id |
| db_url | DATABASE_URL of the branch after the reset |
| db_url_with_pooler | DATABASE_URL with pooler of the branch after the reset |
| host | Branch host after reset |
| host_with_pooler | Branch host with pooling enabled after reset |
| password | Password for connecting to the branch database after reset |