Skip to content

ci: enforce shellcheck and shfmt #2

ci: enforce shellcheck and shfmt

ci: enforce shellcheck and shfmt #2

Workflow file for this run

name: SH Checker
on:
- pull_request
jobs:
sh-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run the sh-checker
uses: luizm/action-sh-checker@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHELLCHECK_OPTS: -o all -e 2148 -e SC2033 -e SC2032 -e SC2034 -e SC2154 -e SC2312 -e SC2164
SHFMT_OPTS: -s -i 2 -bn -ci -sr -s
with:
sh_checker_comment: true
sh_checker_exclude: "packages/emacs/ packages/emacs-git/"