Skip to content

feat(spell-check): Add configuration path for spell checking workflow #8

feat(spell-check): Add configuration path for spell checking workflow

feat(spell-check): Add configuration path for spell checking workflow #8

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