Skip to content

Add ansible linter action #23

Add ansible linter action

Add ansible linter action #23

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