mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2024-08-16 10:09:53 +02:00
35d6c4c933
This is the most straightforward way to allow sourcing scripts, as shellcheck [SC1090] only allows `source` files that are in the same invocation, I believe unless `-x` is also specified. [SC1090]: https://github.com/koalaman/shellcheck/wiki/SC1090
22 lines
591 B
YAML
22 lines
591 B
YAML
name: "ShellCheck"
|
|
author: "Ludeeus <hi@ludeeus.dev>"
|
|
description: "GitHub action for ShellCheck."
|
|
inputs:
|
|
ignore:
|
|
description: 'Paths to ignore when running ShellCheck'
|
|
required: false
|
|
default: ''
|
|
severity:
|
|
description: 'Minimum severity of errors to consider. Options: [error, warning, info, style]'
|
|
required: false
|
|
default: ''
|
|
check_together:
|
|
description: 'Run shellcheck on _all_ files at once, instead of one at a time'
|
|
required: false
|
|
default: ''
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
branding:
|
|
icon: 'terminal'
|
|
color: 'gray-dark'
|