agis/pglockanalyze

Runs pglockanalyze against the provided migration files listed in `input_files` and posts the results in PR annotations.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Aug 24, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: agis/pglockanalyze-action@8636204df7efce0c076d5b16be1b48d9a4d1a700 # v0.0.12

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

namedescriptionrequireddefault
db-hostPostgreSQL hostnolocalhost
db-portPostgreSQL portno5432
db-nameDatabase namenopgladb
db-userDatabase usernopglauser
db-passwordDatabase passwordnopglapass
input_filesNew-line separated list of migration **file paths** to analyse. Each file is processed individually. Cannot be used together with `migrations_path`. no
migrations_pathDirectory containing the migration files. Requires `migration_command` and cannot be combined with `input_files`" no
migration_commandCommand used to apply existing migrations. Runs once with `migrations_path` as its only argument. Required when `migrations_path` is set. no
pglockanalyze-versionVersion of pglockanalyze to use (default: latest)no
cli-flagsAdditional pglockanalyze CLI flags (optional)no--commit

no outputs