mirror of
https://github.com/stackrox/kube-linter-action.git
synced 2026-07-04 23:51:37 +00:00
20 lines
391 B
YAML
Executable File
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
|