-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
36 lines (32 loc) · 953 Bytes
/
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
name: 'ottr-reports'
author: "Candace Savonen"
description: "Run OTTR checks for spelling, urls, and quiz formats"
inputs:
check_type:
description: "There are three types of reports that can be done and specified: 'spelling', 'urls', or 'quiz_format'."
required: true
type: string
sort_dictionary:
description: "Should this action automatically alphabetize your dictionary.txt"
default: false
type: boolean
error_min:
description: "What number of errors should make this check fail?"
default: 0
type: number
outputs:
error_name:
description: "The name of the error that was run"
report_path:
description: "The relative path to where the report was saved."
error_num:
description: "How many errors were found."
runs:
using: 'docker'
image: 'docker://jhudsl/ottr-reports'
args:
- ${{ inputs.check_type }}
- ${{ inputs.error_min }}
branding:
icon: "briefcase"
color: "blue"