Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add lint-extras github workflow #403

Merged
merged 2 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/lint-extras.yaml
Original file line number Diff line number Diff line change
@@ -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:
nixpanic marked this conversation as resolved.
Show resolved Hide resolved
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
nixpanic marked this conversation as resolved.
Show resolved Hide resolved
VALIDATE_YAML: false
2 changes: 1 addition & 1 deletion docs/deploy-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
| ----------------------------- | --------------- | --------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion docs/volumereplication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down