1
0
Fork 0
mirror of https://github.com/ludeeus/action-shellcheck.git synced 2024-08-16 10:09:53 +02:00
Find a file
2020-05-29 23:11:34 +02:00
.github/workflows converted main.workflow to Actions V2 yml files 2019-09-18 13:28:56 -07:00
Dockerfile Move image to alpine 2020-05-29 23:11:06 +02:00
LICENSE Create LICENSE 2019-03-09 11:25:33 +01:00
README.md Update README 2020-05-29 23:11:34 +02:00
runaction.sh Fix runaction.sh return values 2020-05-03 22:11:15 +02: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