mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-30 04:51:03 -05:00
3a0fa5b9fd
Fixes #723
49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
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"
|