forked from rook/rook
ci: add gh action for yaml linter
this commit adds gh action for yaml linter. Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Yaml Lint
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.yaml"
|
||||
|
||||
jobs:
|
||||
yaml-linter:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3
|
||||
with:
|
||||
config_data: |
|
||||
extends: default
|
||||
ignore: |
|
||||
.mergify.yml
|
||||
cluster/charts/
|
||||
cluster/examples/kubernetes/ceph/csi/template
|
||||
.github/workflows/
|
||||
cluster/examples/kubernetes/ceph/crds.yaml
|
||||
cluster/examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml
|
||||
tests/
|
||||
rules:
|
||||
line-length: disable
|
||||
new-lines: disable
|
||||
document-start: disable
|
||||
comments: disable
|
||||
truthy: disable
|
||||
Reference in New Issue
Block a user