Add codespell GitHub Action

Folllow up to #1961 to prevent common typos to be added to the repo.

Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
This commit is contained in:
Mateusz Gozdek 2022-03-29 10:52:07 +02:00 committed by poiana
parent 1fdfbd3a3d
commit b080d20525
2 changed files with 17 additions and 0 deletions

3
.codespellignore Normal file
View File

@ -0,0 +1,3 @@
aks
creat
chage

14
.github/workflows/codespell.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Codespell
on:
pull_request:
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
skip: .git
ignore_words_file: .codespellignore
check_filenames: true
check_hidden: true