diff --git a/codespell.txt b/.github/linters/codespell.txt similarity index 100% rename from codespell.txt rename to .github/linters/codespell.txt diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 784df0cf03..49113814bf 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -29,7 +29,7 @@ concurrency: jobs: pre-commit: name: Run pre-commit - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - name: Check Out uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1eedf4c68..7bab1d4fea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,6 +30,6 @@ repos: hooks: - id: codespell name: run codespell - description: Check spelling with codespell - entry: codespell --ignore-words=codespell.txt + description: check spelling with codespell + args: [--ignore-words=.github/linters/codespell.txt] exclude: ^extras/