Adjust scan directory to the location where your Kubernetes or Helm files are. See Parameters below.
The new workflow will run every time there's a new push to the repo.
Workflow will fail if kube-linter detects issues. You'll find issues in the output of kube-linter-action.
Example
- name:Scan repo with kube-linteruses:stackrox/kube-linter-action@v1.0.2with:directory:yamlsconfig:.kube-linter/config.yaml
Parameters
directory (required) - path of file or directory to scan, absolute or relative to the root of the repo.
config (optional) - path to a configuration file if you wish to use a non-default configuration.