Merge pull request #222 from VisLab/develop #52
Workflow file for this run
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: Codespell | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
permissions: | |
contents: read | |
jobs: | |
codespell: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Prepare directory list | |
run: | | |
DIRS=$(find . -type d -name 'prerelease' | tr '\n' ' ') | |
echo "DIRS_TO_CHECK=$DIRS" >> $GITHUB_ENV | |
- name: Run codespell | |
uses: codespell-project/actions-codespell@v2 | |
with: | |
check_filenames: false | |
path: | | |
docs/* | |
${{ env.DIRS_TO_CHECK }} |