diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index 119fe8904e6..00000000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: build - -on: - push: - branches: - - main - - release** - pull_request: - -jobs: - codespell: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: codespell-project/actions-codespell@master - with: - ignore_words_file: .codespellignore - skip: .*bootstrap.*,*.js,.*bootstrap-theme.css.map diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2cf01563948..32f2f7d53a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,3 +24,11 @@ repos: - id: trailing-whitespace - id: check-toml - id: check-yaml +- repo: https://github.com/codespell-project/codespell + rev: v2.2.6 + hooks: + - id: codespell + args: [ + "--ignore-words", + ".codespellignore", + ]