-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kube-linter to ci #2
Conversation
b409eaa
to
37746b1
Compare
1e2199e
to
990d006
Compare
I was looking at the sample workflow for kube-linter-action and I saw they were uploading the SARIF report files using CodeQL. Is this better? Also, did you consider running the workflow on |
I tried that method, but on the recent versions of the SARIF upload action (which github requires), the actions fails when there are no linting issues (because kube-lint doesn't create a report SARIF file if it passes). I think that reading the action log when it fails is also okay, there aren't many advantages on this case of using the SARIF files, wdyt?
What's the advantage of |
Okay, that sounds good! I think we can leave things as they are and if it eventually becomes beneficial, we can consider it.
You're right, there aren't many differences. Most people use both and You are right in that, in our case, they would accomplish the same thing since a commit can only be pushed to a branch via a PR. I was just asking in case there was any other reason! |
I'll add it to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Adds kube-linter to lint Kubernetes *.yaml files automatically