Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (35 loc) · 1.11 KB
/
Copy pathaction.yml
File metadata and controls
37 lines (35 loc) · 1.11 KB
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
---
name: codespell.
description: Run codespell with repository defaults for reusable workflows.
inputs:
config:
description: Path to codespell configuration file.
default: ""
required: false
ignore-words-file:
description: Path to codespell ignored words file.
default: ""
required: false
ignore-words-list:
description: Comma-separated list of words ignored by codespell.
default: ""
required: false
path:
description: Path passed to codespell.
default: ""
required: false
skip:
description: Comma-separated list of files or globs skipped by codespell.
default: ./.git
required: false
runs:
using: composite
steps:
- name: Run codespell.
uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2
with:
config: ${{ inputs.config }}
ignore_words_file: ${{ inputs.ignore-words-file }}
ignore_words_list: ${{ inputs.ignore-words-list }}
path: ${{ inputs.path }}
skip: ${{ inputs.skip != '' && format('./.php-forge-actions,{0}', inputs.skip) || './.php-forge-actions' }}