-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
38 lines (38 loc) · 1.04 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
name: "Sprocket Check"
author: "St. Jude Cloud Rust Labs"
description: "Check WDL documents for validity using Sprocket"
branding:
icon: 'check-circle'
color: 'blue'
inputs:
lint:
description: "Whether to lint the WDL document"
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: ''
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 }}