Skip to content

Add Codespell GitHub action #11

Add Codespell GitHub action

Add Codespell GitHub action #11

Workflow file for this run

# GitHub Action to automate the identification of common misspellings in text files.
# https://github.com/codespell-project/actions-codespell
# https://github.com/codespell-project/codespell
name: codespell
on: [pull_request]
permissions:
contents: read
jobs:
codespell:
if: github.repository == 'cellml/libcellml'
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461 # v2.0
with:
check_filenames: true
skip: ./.git,./tests/gtest/include/gtest/gtest.h,./tests/gtest/src/gtest-all.cc,./src/dtds/mathml2/*
exclude_file: .codespellexclude