[ci] Add shellcheck linter #6864
Labels
ci-cd
CI, CD, testing, build issues
enhancement
New feature or request
github_actions
Pull requests that update Github_actions code
good first issue
Good for newcomers
priority:p2
Medium
shellcheck is a static analysis tool for identifying issues on shell scripts. It's generally good for enforcing idiomatic and sensible shell scripts.
To ensure we continously lint our scripts with shellcheck, we should add a Github workflow that lints our shell scripts with shellcheck and fixes the issues pointed out by the command above.
See also open-telemetry/opentelemetry-collector-contrib/issues/17279 and open-telemetry/opentelemetry-collector-releases/issues/264 for similar issues on contrib and releases.
The text was updated successfully, but these errors were encountered: