1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||
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: kube |
|||
config: .kube-linter.yaml |
|||
Loading…
Reference in new issue