agis/pglockanalyze
Runs pglockanalyze against the provided migration files listed in `input_files` and posts the results in PR annotations.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 24, 2025
- License
- None
Pinned Snippet
uses: agis/pglockanalyze-action@8636204df7efce0c076d5b16be1b48d9a4d1a700 # v0.0.12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| db-host | PostgreSQL host | no | localhost |
| db-port | PostgreSQL port | no | 5432 |
| db-name | Database name | no | pgladb |
| db-user | Database user | no | pglauser |
| db-password | Database password | no | pglapass |
| input_files | New-line separated list of migration **file paths** to analyse. Each file is processed individually. Cannot be used together with `migrations_path`. | no | — |
| migrations_path | Directory containing the migration files. Requires `migration_command` and cannot be combined with `input_files`" | no | — |
| migration_command | Command used to apply existing migrations. Runs once with `migrations_path` as its only argument. Required when `migrations_path` is set. | no | — |
| pglockanalyze-version | Version of pglockanalyze to use (default: latest) | no | — |
| cli-flags | Additional pglockanalyze CLI flags (optional) | no | --commit |
Outputs
no outputs