Skip to content

Add kube-linter to ci #9

Add kube-linter to ci

Add kube-linter to ci #9

Workflow file for this run

name: Check Kubernetes YAMLs with kube-linter
on:
pull_request:
push:
branches:
- main
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Scan yaml files with kube-linter
uses: stackrox/[email protected]
id: kube-linter-action-scan
with:
# Adjust this directory to the location where your kubernetes resources and helm charts are located.
directory: "."
# Adjust this to the location of kube-linter config you're using, or remove the setting if you'd like to use
# the default config.
config: .kube-linter.yaml