{"repo":"luizm/action-sh-checker","free":true,"listed":false,"github":"https://github.com/luizm/action-sh-checker","clone":"git clone https://github.com/luizm/action-sh-checker.git","description":"A GitHub action that performs static analysis for shell scripts using shellcheck, shfmt and checkbashisms.","language":"Shell","stars":157,"topics":["github-actions","shell-script","shftm","shellcheck","checkbashisms"],"license":"MIT","category":"dev-tools","readme_excerpt":"sh-checker A GitHub action that performs static analysis of shell scripts using shellcheck, shfmt and checkbashisms Usage Job example to check all sh files but ignore the directory .terraform and file dir/example.sh Environment Variables SHELLCHECK OPTS : Used to specify shellcheck arguments. SHFMT OPTS : Used to specify shfmt arguments. Inputs sh checker only diff : (optional) Only check the files that were changed in the pull request. Default is to check all files in the repo. sh checker exclude : (optional) Directory or file name that doesn't need to be checked. sh checker comment : (optional) If true, it will show the errors as commentaries in the pull requests. Default is false. sh checker shfmt disable : (optional) If true, it will skip shfmt. Default is false. sh checker shellcheck disable : (optional) If true, it will skip shellcheck. Default is false. sh checker checkbashisms enable : (optional) If true, run checkbashisms tool against scripts. Default is false. Secrets GITHUB TOKEN : The GitHub API token used to post comments to pull requests. Required only if sh checker only diff or sh checker comment is set to true.","default_branch":null,"files":null,"tree":[],"storefront":"/r/luizm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luizm/action-sh-checker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}