1
0
mirror of https://github.com/stackrox/kube-linter-action.git synced 2026-07-04 23:51:37 +00:00
Files
kube-linter-action/.github/workflows/kube-linter-sample.yml
T
2021-05-10 17:57:13 +02:00

20 lines
391 B
YAML
Executable File

name: Check Kubernetes YAMLs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Scan valid yaml with kube-linter
uses: stackrox/kube-linter-action@v1.0.2
with:
directory: sample/valid-yaml
config: sample/.kube-linter-config.yaml