An open API service indexing awesome lists of open source software.

https://github.com/sudo-bot/action-shellcheck

A GitHub action to use ShellCheck
https://github.com/sudo-bot/action-shellcheck

github-actions shellcheck

Last synced: about 1 month ago
JSON representation

A GitHub action to use ShellCheck

Awesome Lists containing this project

README

        

# A GitHub action to run ShellCheck

Go to [ShellCheck](https://github.com/koalaman/shellcheck#readme) at GitHub

You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-shellcheck)

[![Docker Pulls](https://img.shields.io/docker/pulls/botsudo/action-shellcheck.svg)](https://hub.docker.com/r/botsudo/action-shellcheck)

You can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/action-shellcheck)

I use the base image [koalaman/shellcheck](https://hub.docker.com/r/koalaman/shellcheck) for this action

This action has `make` and `bash`.

## Example usage

```yml
- uses: actions/checkout@v4
- name: run shellcheck
uses: sudo-bot/action-shellcheck@latest
with:
# https://github.com/koalaman/shellcheck#how-to-use
cli-args: "myscript"
```

## Advanced usage

```yml
- uses: actions/checkout@v4
- name: run shellcheck
uses: sudo-bot/action-shellcheck@latest
with:
# https://github.com/koalaman/shellcheck#how-to-use
cli-args: "--format=checkstyle --severity=info script.sh"
```