mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 09:31:57 +01:00
ShellCheck
GitHub action for ShellCheck.
Example
on:
push:
branch:
- master
name: 'Trigger: Push action'
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
Globally disable checks
To disable specific checks add it to a SHELLCHECK_OPTS
env key in the job definition.
example:
...
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -e SC2059 -e SC2034 -e SC1090
Languages
Shell
79.9%
C
20.1%