From e6174638112daf26e04ca002d7a33d024c97175c Mon Sep 17 00:00:00 2001 From: Liang Zheng Date: Sun, 7 Apr 2024 10:57:46 +0800 Subject: [PATCH] ci: add misspell linter add misspell linter to check all source codes Signed-off-by: Liang Zheng (cherry picked from commit e76dd03f5433cccec3e0690c2a5450c7769c35cd) --- .github/workflows/codespell.yaml | 9 +++++++++ Documentation/Contributing/development-flow.md | 2 +- design/ceph/osd-migration.md | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml index 156dab64f..f577dbc2e 100644 --- a/.github/workflows/codespell.yaml +++ b/.github/workflows/codespell.yaml @@ -48,3 +48,12 @@ jobs: ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment,ro,RO check_filenames: true check_hidden: true + misspell: + name: misspell + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: misspell + uses: reviewdog/action-misspell@v1 diff --git a/Documentation/Contributing/development-flow.md b/Documentation/Contributing/development-flow.md index ffba3daf4..583ed86e7 100644 --- a/Documentation/Contributing/development-flow.md +++ b/Documentation/Contributing/development-flow.md @@ -95,7 +95,7 @@ rook │   ├── charts # Helm charts │   │   └── rook-ceph │   │   └── rook-ceph-cluster -│   └── examples # Sample manifestes to configure the cluster +│   └── examples # Sample manifests to configure the cluster │ ├── cmd │   ├── rook # Main command entry points for operators and daemons diff --git a/design/ceph/osd-migration.md b/design/ceph/osd-migration.md index 6825a7d79..c074636bc 100644 --- a/design/ceph/osd-migration.md +++ b/design/ceph/osd-migration.md @@ -166,7 +166,7 @@ The OSD prepare pod job will destroy an OSD using following steps: ## Planning -These changes require ignificant developemnt effort to migrate existing OSDs to use a new backend. +These changes require significant development effort to migrate existing OSDs to use a new backend. They will be divided into following phases: * New OSDs (greenfield). * Migrating existing OSDs on PVC without metadata devices.