-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
51 lines (51 loc) · 1.46 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
name: "Sprocket Check"
author: "St. Jude Cloud Rust Labs"
description: "Check WDL documents for validity using Sprocket"
branding:
icon: 'check-circle'
color: 'blue'
inputs:
# General options
action:
description: "Sprocket subcommand to run."
required: true
default: 'check'
# Options for `check` and `lint` subcommands
lint:
description: "Whether to lint WDL documents."
required: false
default: 'false'
exclude-patterns:
description: 'Comma separated list of patterns to exclude from Sprocket check.'
required: false
default: ''
deny-warnings:
description: 'Fail the check if there are any warnings.'
required: false
default: 'false'
deny-notes:
description: 'Fail the check if there are any notes.'
required: false
default: 'false'
except:
description: 'Comma separated list of rules to exclude from Sprocket check.'
required: false
default: ''
# Options for `validate-inputs` subcommand
wdl_files:
description: "Path to the WDL document for which to validate inputs."
required: false
inputs_files:
description: "Path to the JSON file containing inputs to validate."
required: false
outputs:
status:
description: "The status of the check"
runs:
using: "docker"
image: "Dockerfile"
entrypoint: "/app/entrypoint.sh"
env:
INPUT_PATTERNS: ${{ inputs.exclude-patterns }}
INPUT_WARNINGS: ${{ inputs.deny-warnings }}
INPUT_NOTES: ${{ inputs.deny-notes }}