mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
ci: add codespell for spell check
adding a github action to check the spelling mistakes in the code. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
8d08e8b37e
commit
eee49a6e0a
27
.github/workflows/codespell.yaml
vendored
Normal file
27
.github/workflows/codespell.yaml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user