github-misc-scripts
github-misc-scripts copied to clipboard
ci(lint): add shell linter - Differential ShellCheck
Description
Addition of a new job in CI workflow that scans all shell scripts in the repo using ShellCheck and reports only newly added defects.
Differential ShellCheck is a GitHub action that performs differential ShellCheck scans on shell scripts changed via PR and reports results directly in PR.
It produces reports in SARIF format. GitHub understands this format and is able to display it nicely as a PR comment, and on the Files Changed tab, please see below.
Documentation is available at @redhat-plumbers-in-action/differential-shellcheck.