CI - Fix spellcheck and Flake8 failures affecting all pull requests #1246
Workflow file for this run
This file contains hidden or 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 (not pull_request_target) so the job checks out and scans the | |
| # PR content; with pull_request_target the default checkout is the base | |
| # branch, so PR runs were scanning main instead of the PR | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| jobs: | |
| spellcheck: # run the action | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - uses: streetsidesoftware/cspell-action@v2 | |
| with: | |
| incremental_files_only: false |