Browse Source

RIP Codespell (#6701)

* RIP Codespell

Signed-off-by: Chris Wayne <cwayne18@gmail.com>
pull/6700/head
Chris Wayne 2 years ago committed by GitHub
parent
commit
3cafc8e6dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .codespellignore
  2. 24
      .github/workflows/spellcheck.yaml
  3. 3
      Dockerfile.test

7
.codespellignore

@ -1,7 +0,0 @@
aks
ec2
eks
gce
gcp
ro
shouldnot

24
.github/workflows/spellcheck.yaml

@ -1,24 +0,0 @@
name: Codespell
on:
push:
pull_request:
branches:
- master
workflow_dispatch: {}
jobs:
spellcheck:
name: Spell Check
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 🐍
uses: actions/setup-python@v4
- name: Install codespell
run: |
python -m pip install --upgrade pip
pip install codespell
- name: Check spelling
run: codespell --skip=.git,./scripts,MAINTAINERS,LICENSE,go.mod,go.sum --check-filenames --ignore-regex=.te# --ignore-words=.codespellignore

3
Dockerfile.test

@ -27,8 +27,7 @@ RUN OS=linux; \
tar -xzf - -C /usr/local/bin; \
fi; \
curl -fsL https://storage.googleapis.com/kubernetes-release/release/${RELEASE}/bin/linux/${ARCH}/kubectl -o /usr/local/bin/kubectl; \
chmod a+x /usr/local/bin/kubectl; \
pip install codespell
chmod a+x /usr/local/bin/kubectl;
ENV TEST_CLEANUP true

Loading…
Cancel
Save