Skip to content

Commit

Permalink
ci: add codespell for spell check
Browse files Browse the repository at this point in the history
adding a github action to check the spelling
mistakes in the code.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed Nov 29, 2020
1 parent 8d08e8b commit eee49a6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# codespell is a GitHub Actions that runs codespell tool to catch misspell
# Reference https://github.com/codespell-project/actions-codespell
name: Codespell
# yamllint disable-line rule:truthy
on:
push:
tags:
- v*
branches:
- master
pull_request:
branches:
- master
jobs:
codespell:
name: codespell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: codespell
uses: codespell-project/actions-codespell@master
with:
skip: .git,./vendor
check_filenames: true
ignore_words_list: ExtraVersion,extraversion,ba
check_hidden: true

0 comments on commit eee49a6

Please sign in to comment.