/shellcheck-problem-matchers

A set of shellcheck problem matchers to enable annotations in GitHub Actions

Primary LanguageJavaScriptMIT LicenseMIT

shellcheck-problem-matchers status

shellcheck problem matchers for GitHub Actions

A set of problem matchers for shellcheck that automatically decorate log output and generate GitHub annotations on for example a Pull Request. This currently supports the gcc and tty formats.

Usage

To enable the shellcheck problem matchers, simply add this Action as a step before running the actual shellcheck command:

uses: lumaxis/shellcheck-problem-matchers@v2
run: shellcheck -f gcc *.sh

Note: You will get the best results when specifying gcc as the shellcheck output format: shellcheck -f gcc

See the actions tab for runs of this action! 🚀

Additional Options

By default, this Action installs all available problem matchers but you can specify one of the available formats explicitly:

uses: lumaxis/shellcheck-problem-matchers@v2
with:
  format: gcc # Available options are "gcc" or "tty"