-
Notifications
You must be signed in to change notification settings - Fork 222
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
Proposal: adoption of checkton
(runs ShellCheck on Tekton YAML files)
#1156
Comments
cc @tektoncd/governing-board |
@chmeliik one question, it could be used standalone as well, am I right ? The reason I ask this is, we could also have a Another topic I want to bring in the discussion here, is |
It could be, yeah. Apart from some bits in https://github.com/chmeliik/checkton/blob/main/src/action.sh, none of it is GH-actions specific.
At first glance, I would say the goals are different. Catlin seems to be about linting Tekton-catalog specific concerns (?) while Checkton just runs ShellCheck on embedded scripts. One nice - if somewhat coincidental - feature of Checkton is that it technically works with any YAML, not just Tekton, as long as your embedded scripts start with |
Would having a Tekton task increase the likelihood of adoption into the tektoncd org? Do you see it as a prerequisite? |
Hi 👋
I made https://github.com/chmeliik/checkton, a GitHub action that runs ShellCheck on scripts embedded in YAML files.
The main motivation was to use it on https://github.com/konflux-ci/build-definitions, a decently sized collection of Tasks, Pipelines and StepActions that could greatly benefit having its shell scripts linted. The PoC pull request introducing the linter is konflux-ci/build-definitions#1085. It may be interesting to note that the default mode of operation is "differential" - don't report existing issues, report only those introduced in a pull request.
Would you be interested in having this project be part of the tektoncd community?
Who will own it
The text was updated successfully, but these errors were encountered: