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
- Host: GitHub
- URL: https://github.com/sudo-bot/action-shellcheck
- Owner: sudo-bot
- License: mpl-2.0
- Created: 2020-12-26T19:50:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-26T21:18:16.000Z (over 4 years ago)
- Last Synced: 2024-03-14T20:51:28.865Z (about 1 year ago)
- Topics: github-actions, shellcheck
- Language: Dockerfile
- Homepage: https://github.com/koalaman/shellcheck#readme
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
[](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"
```