From f80287a92948c454d4954ddfdd18efa1da1902ca Mon Sep 17 00:00:00 2001 From: riya-singhal31 Date: Wed, 5 Jul 2023 15:33:09 +0530 Subject: [PATCH 1/2] ci: add lint-extras github workflow Signed-off-by: riya-singhal31 --- .github/workflows/lint-extras.yaml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/lint-extras.yaml diff --git a/.github/workflows/lint-extras.yaml b/.github/workflows/lint-extras.yaml new file mode 100644 index 000000000..18249a7e9 --- /dev/null +++ b/.github/workflows/lint-extras.yaml @@ -0,0 +1,32 @@ +--- +name: Lint Code Base +# yamllint disable-line rule:truthy +on: + push: + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + test-lint: + runs-on: ubuntu-latest + + steps: + - name: checkout source + uses: actions/checkout@v3 + + - name: Lint Code Base + uses: super-linter/super-linter/slim@v5 + env: + FILTER_REGEX_EXCLUDE: > + (.*vendor/.*)|(.*tools/vendor/.*) + VALIDATE_DOCKERFILE_HADOLINT: false + VALIDATE_GO: false + VALIDATE_JSCPD: false + VALIDATE_KUBERNETES_KUBECONFORM: false + VALIDATE_MARKDOWN: false + VALIDATE_PROTOBUF: false + VALIDATE_YAML: false From 7b594ea26d2634da0804231add05c4851cb25351 Mon Sep 17 00:00:00 2001 From: riya-singhal31 Date: Mon, 10 Jul 2023 18:48:52 +0530 Subject: [PATCH 2/2] fix: fix textlint linter Signed-off-by: riya-singhal31 --- docs/deploy-controller.md | 2 +- docs/volumereplication.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deploy-controller.md b/docs/deploy-controller.md index 92bc71768..6cb9e25dd 100644 --- a/docs/deploy-controller.md +++ b/docs/deploy-controller.md @@ -4,7 +4,7 @@ The CSI-Addons Controller can be deployed by different ways: ## Configuration -**Available command line arguments:** +**Available command-line arguments:** | Option | Default value | Description | | ----------------------------- | --------------- | --------------------------------------------- | diff --git a/docs/volumereplication.md b/docs/volumereplication.md index f47a7dd04..8f9b0cd34 100644 --- a/docs/volumereplication.md +++ b/docs/volumereplication.md @@ -16,7 +16,7 @@ VolumeReplication is a namespaced resource that contains references to storage o + `kind` is the kind of resource being replicated. For eg. PersistentVolumeClaim + `name` is the name of the resource -`replicationHandle` (optional) is an existing (but new) replication id. +`replicationHandle` (optional) is an existing (but new) replication ID. ``` yaml