generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
49 lines (49 loc) · 1.4 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Neon Schema Diff GitHub Action
description:
Create GitHub Pull Request comments with the schema diff between two branches
author: Neon Database
branding:
icon: align-left
color: green
inputs:
github-token:
description: The GitHub token used to create an authenticated client
required: false
default: ${{ github.token }}
project_id:
description: The project id
required: true
compare_branch:
description: The compare branch name or id (downstream branch)
required: true
api_key:
description: The Neon API key
required: true
base_branch:
description: The base branch name or id (upstream branch)
required: false
api_host:
description: The Neon API Host
default: https://console.neon.tech/api/v2
username:
description: The db role name
default: neondb_owner
database:
description: The database name
default: neondb
timestamp:
description:
The timestamp of the downstream branch to compare against. Leave it empty
to compare against the latest changes in your compare branch
lsn:
description:
The LSN of the downstream branch to compare against. Leave it empty to
compare against the latest changes in your compare branch
outputs:
diff:
description: The schema diff SQL patch
comment_url:
description: The url of the comment containing the schema diff
runs:
using: node20
main: dist/index.js