From df1ae9a223a99a0ae8261318b7c156514112caa4 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Mon, 27 May 2024 10:26:34 +0530 Subject: [PATCH] ci: fix codespell ci by skipping some words fixing 'secert' to `secret` and adding workds like `NotIn, addin` to skip work list. Signed-off-by: subhamkrai (cherry picked from commit 85c25bbc6eb07c356970b8e75212b6224cb6d517) --- .github/workflows/codespell.yaml | 2 +- pkg/operator/ceph/pool/controller_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codespell.yaml b/.github/workflows/codespell.yaml index 9668fe290..058cb48c7 100644 --- a/.github/workflows/codespell.yaml +++ b/.github/workflows/codespell.yaml @@ -45,7 +45,7 @@ jobs: # parm: modinfo parameter # assigment: inherited from K8s TopologySpreadConstraints dependency # ro, RO: means read-only - ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment,ro,RO + ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment,ro,RO,addin,NotIn check_filenames: true check_hidden: true misspell: diff --git a/pkg/operator/ceph/pool/controller_test.go b/pkg/operator/ceph/pool/controller_test.go index 96da48a8a..29a277370 100644 --- a/pkg/operator/ceph/pool/controller_test.go +++ b/pkg/operator/ceph/pool/controller_test.go @@ -498,7 +498,7 @@ func TestCephBlockPoolController(t *testing.T) { err := r.client.Update(context.TODO(), pool) assert.NoError(t, err) res, err := r.Reconcile(ctx, req) - // assert reconcile failure because peer token secert was not created + // assert reconcile failure because peer token secret was not created assert.NoError(t, err) assert.True(t, res.Requeue) })