neondatabase/Neon Database Reset Branch Action

Resets a Neon branch

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Nov 10, 2025
Maintenance Recency
Activelast commit May 11, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: neondatabase/reset-branch-action@470ab8101095ea33737c294d17364a72fd80761b # v1.3.2

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

namedescriptionrequireddefault
project_idThe project idyes
branchThe branch name or id to resetyes
api_keyThe Neon API keyyes
api_hostThe Neon API Hosthttps://console.neon.tech/api/v2
parentIf specified, the branch will be reset to the parent branchno
cs_role_nameThe output connection string db role nameno
cs_databaseThe output connection string database nameno
cs_prismaUse prisma in output connection string or notnofalse
cs_sslAdd sslmode to the connection string. Supported values are: "require", "verify-ca", "verify-full", "omit". norequire
namedescription
branch_idReturns the branch id
db_urlDATABASE_URL of the branch after the reset
db_url_with_poolerDATABASE_URL with pooler of the branch after the reset
hostBranch host after reset
host_with_poolerBranch host with pooling enabled after reset
passwordPassword for connecting to the branch database after reset