Skip to content

Commit

Permalink
feat(spell-check): Add workflow dispatch input for incremental file c…
Browse files Browse the repository at this point in the history
…hecks in spell checking workflow
  • Loading branch information
endersonmenezes committed Nov 12, 2024
1 parent 544c4ea commit 8b466f4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/spell-checking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@ 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
- uses: streetsidesoftware/cspell-action@v6
with:
incremental_files_only: ${{ github.event.inputs.incremental_files_only }}

0 comments on commit 8b466f4

Please sign in to comment.