mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
eee49a6e0a
adding a github action to check the spelling mistakes in the code. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
28 lines
660 B
YAML
28 lines
660 B
YAML
---
|
|
# 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
|