mirror of
https://github.com/stackrox/kube-linter-action.git
synced 2026-09-04 06:09:20 +00:00
Update action (refactorings) (#5)
This commit is contained in:
Executable
+19
@@ -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: sample/valid-yaml
|
||||
config: sample/.kube-linter-config.yaml
|
||||
Reference in New Issue
Block a user