Skip to content

Releases: MarounMaroun/shell-checker

Don't check deleted files

13 Jul 06:17
Compare
Choose a tag to compare

Deleted files in pull-request will be ignored and ShellCheck will not run on them.

PR Shell Checker

29 May 18:17
Compare
Choose a tag to compare

PR Shell Checker

Usage

Create a file checker.yml inside .github/workflows:

on: [pull_request]

jobs:
  shell-check:
    runs-on: ubuntu-latest
    name: Shell Checker
    steps:
      - uses: actions/checkout@v2
      - uses: marounmaroun/shell-checker@v1
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          severity: 'info'
          exclude: ''

You can set the severity to one of: "error, warning, info, style". Default is "info".

You can also include type of warnings to exclude. For example:

exclude: 'SC2006,SC2148'

Default value is not set, meaning that there will be no exclusions.