github-misc-scripts icon indicating copy to clipboard operation
github-misc-scripts copied to clipboard

ci(lint): add shell linter - Differential ShellCheck

Open jamacku opened this issue 1 year ago • 0 comments

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.

Screenshots

image

image

jamacku avatar Apr 23 '24 16:04 jamacku