feat(spell-check): Add configuration path for spell checking workflow #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Check spelling' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
workflow_dispatch: | |
inputs: | |
incremental_files_only: | |
description: 'Check only incremental files' | |
default: 'true' | |
type: choice | |
options: ['true', 'false'] | |
jobs: | |
spellcheck: # run the action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: streetsidesoftware/cspell-action@v6 | |
with: | |
incremental_files_only: ${{ github.event.inputs.incremental_files_only }} | |
config: . | |
files: | | |
**/*.{md,txt,json} | |
LICENSE |