neondatabase/Neon Schema Diff GitHub Action
Create GitHub Pull Request comments with the schema diff between two branches
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token used to create an authenticated client | no | ${{ github.token }} |
| project_id | The project id | yes | — |
| compare_branch | The compare branch name or id (downstream branch) | yes | — |
| api_key | The Neon API key | yes | — |
| base_branch | The base branch name or id (upstream branch) | no | — |
| api_host | The Neon API Host | — | https://console.neon.tech/api/v2 |
| database | The database name | — | neondb |
| timestamp | The timestamp of the downstream branch to compare against. Leave it empty to compare against the latest changes in your compare branch | — | — |
| lsn | The LSN of the downstream branch to compare against. Leave it empty to compare against the latest changes in your compare branch | — | — |
Outputs
| name | description |
|---|---|
| diff | The schema diff SQL patch |
| comment_url | The url of the comment containing the schema diff |