forked from crate-ci/typos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
49 lines (41 loc) · 1.18 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: "typos-action"
author: "Vanessa Sochat"
description: "Run typos to check spelling in GitHub actions"
inputs:
files:
description: "Files or patterns to check"
required: false
extend_identifiers:
description: "Comma separated list of extend identifiers, like someone's name"
required: false
extend_words:
description: "Comma separated list of extend words."
required: false
isolated:
description: "Ignore implicit configuration files"
required: false
default: false
write_changes:
description: "Write changes to the repository"
required: false
default: false
config:
description: "Use a custom config file."
required: false
runs:
using: 'composite'
steps:
- id: typos
run: $GITHUB_ACTION_PATH/action/entrypoint.sh
shell: bash
env:
INSTALL_DIR: .
INPUT_FILES: ${{ inputs.files }}
INPUT_EXTEND_IDENTIFIERS: ${{ inputs.extend_identifiers }}
INPUT_EXTEND_WORDS: ${{ inputs.extend_words }}
INPUT_ISOLATED: ${{ inputs.isolated }}
INPUT_WRITE_CHANGES: ${{ inputs.write_changes }}
INPUT_CONFIG: ${{ inputs.config }}
branding:
icon: "link"
color: "blue"