-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (45 loc) · 1.24 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
50
51
52
name: "dblinter"
description: "Launch a PG database, execute initial script and launch dblinter"
inputs:
flyway-migration:
description: "Flyway migration script"
required: false
default: ""
init-script:
description: "path where an initial script is."
required: false
default: ""
report-path:
description: "Path to write the sarif report file"
required: true
default: "dblinter.sarif"
config-file:
description: "Path to the dblinter config file if you want to use a custom one"
required: false
default: ""
dblinter-version:
description: "dblinter version"
required: false
default: "latest"
postgres-version:
description: "postgres version to use"
required: false
default: "17"
flyway-version:
description: "flyway version to use"
required: false
default: "10"
pr-comment:
description: "Display the report in the PR"
required: false
default: "false"
GITHUB_TOKEN:
description: 'Github token of the repository (automatically created by Github) to create the PR comment'
default: ${{ github.token }}
required: false
outputs:
sarif-report:
description: "sarif where the report is stored"
runs:
using: "node20"
main: "dist/index.js"