diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 00000000000..e69de29bb2d diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000000..53ced527512 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,4 @@ +[codespell] +skip = ./build/*,**/_build/*,*.pot,conf.py,./static/*,./admin_manual/configuration_server/config_sample_php_parameters.rst,./_shared_assets/* +ignore-words = .codespellignore +check-filenames = true diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 00000000000..37a9b0d3ad2 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,17 @@ +name: 'Codespell' + +on: + pull_request: + push: + branches: + - master + +jobs: + codespell: + name: Check spelling + runs-on: self-hosted + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Check spelling + uses: codespell-project/actions-codespell@v2