Skip to content
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

ci(lint): add shell linter - Differential ShellCheck #120

Merged
merged 1 commit into from
Sep 27, 2022
Merged

ci(lint): add shell linter - Differential ShellCheck #120

merged 1 commit into from
Sep 27, 2022

Conversation

jamacku
Copy link
Contributor

@jamacku jamacku commented Aug 29, 2022

Differential ShellCheck is a GitHub action that performs differential ShellCheck scans on shell scripts changed via PR and reports results directly in PR. The beauty of differential scans is that you will get reports only about newly added defects.

Since this repository has few shell scripts, I think you might find some value in having a shell linter. Differential ShellCheck action is able to produce 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.

image

image

Documentation is available at @redhat-plumbers-in-action/differential-shellcheck. Let me know If you are missing some feature or setting. I'm always happy to extend functionality.

It performs differential ShellCheck scans and report results directly in pull request.

documentation: https://github.com/redhat-plumbers-in-action/differential-shellcheck

Signed-off-by: Jan Macku <jamacku@redhat.com>
@xyproto
Copy link
Owner

xyproto commented Sep 15, 2022

Thanks for the pull request! I'll look into this.

@xyproto xyproto self-assigned this Sep 15, 2022
@xyproto xyproto added the feature request Enhancement or feature request label Sep 15, 2022
@xyproto xyproto merged commit dabf769 into xyproto:main Sep 27, 2022
@xyproto
Copy link
Owner

xyproto commented Sep 27, 2022

Merged! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Enhancement or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants