Skip to content

Commit

Permalink
Add a Codespell action (protocolbuffers#7752)
Browse files Browse the repository at this point in the history
* Fix a typo

* Add codespell action

* Fix lots of spelling errors

* Fix a few more spelling mistakes

* Add an ignore words list

* s/parsable/parseable/

* Don't touch the third party files

* Cloneable is the preferred C# term

* Copyable is the preferred C++ term

* Exclude some more words and folders

* Revert "s/parsable/parseable/"

This reverts commit 534ecf7.

* Revert unparseable->unparsable corrections

* Skip more locations and add some ignore words that haven't been merged yet
  • Loading branch information
peternewman committed Aug 10, 2020
1 parent 7aeab40 commit 6ed7206
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/codespell.yml
@@ -0,0 +1,16 @@
# GitHub Action to automate the identification of common misspellings in text files.
# https://github.com/codespell-project/actions-codespell
# https://github.com/codespell-project/codespell
name: codespell
on: [push, pull_request]
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: ./.git,./conformance/third_party,*.snk,*.pb,./src/google/protobuf/testdata,./objectivec/Tests,./python/compatibility_tests/v2.5.0/tests/google/protobuf/internal
ignore_words_list: "alow,alse,ba,cleare,copyable,cloneable,dedup,dur,errorprone,fo,fundementals,hel,importd,inout,leapyear,nd,ois,ons,parseable,process',te,testof,ue,unparseable,wasn,wee,gae,keyserver,objext,od"

0 comments on commit 6ed7206

Please sign in to comment.