hubble-ventures/pgroll Action

GitHub Action wrapper for the pgroll CLI - PostgreSQL zero-downtime migrations by Xata

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 25, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: hubble-ventures/actions-pgroll@b319216c07909d585e51008947c334a0058b495e # v0.0.1

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

namedescriptionrequireddefault
commandpgroll command: init, start, complete, rollback, status, validate, migrate, baselineyes
versionpgroll version to install (e.g., "0.16.0" or "latest")nolatest
verify-checksumVerify binary checksum (recommended for security)notrue
postgres-urlPostgreSQL connection URLno
migration-filePath to migration file (for start, validate)no
migrations-dirPath to migrations directory (for migrate, baseline)no
migration-nameMigration name (for baseline)no
schemaTarget schemanopublic
pgroll-schemaSchema name for pgroll internal statenopgroll
lock-timeoutLock timeout in millisecondsno500
rolePostgreSQL role for DDL operationsno
completeComplete migration after start (for start command)nofalse
backfill-batch-sizeNumber of rows per backfill batchno1000
backfill-batch-delayDelay between backfill batches (e.g., "100ms", "1s")no0s
namedescription
versionSchema version (context-dependent)
statusMigration status (for status command)
jsonFull JSON output (for status command)
validValidation result (for validate command)
errorsValidation errors (for validate command)
applied-countNumber of migrations applied (for migrate command)
fileGenerated file path (for baseline command)
pgroll-versionInstalled pgroll version
pgroll-pathPath to pgroll binary