diff --git a/.codespellignore b/.codespellignore new file mode 100644 index 0000000..91c974b --- /dev/null +++ b/.codespellignore @@ -0,0 +1,5 @@ +aks +ec2 +eks +gce +gcp diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..a59d267 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +name: Codespell + +on: + push: + pull_request: + branches: + - master + - "v*.*.*" + +jobs: + codespell: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Check code spell + uses: codespell-project/actions-codespell@v1 + with: + check_filenames: true + ignore_words_file: .codespellignore + skip: "*/**.yaml,*/**.yml,*/**.tpl,./deploy,./dev,./scripts,./uninstall"