Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 0c51ce6

Browse files
authored
Add Superior ShellCheck Action
1 parent 009705e commit 0c51ce6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/shellcheck.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'ShellCheck'
2+
on:
3+
- pull_request
4+
jobs:
5+
sh-checker:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v1
9+
- name: Run the sh-checker
10+
uses: luizm/action-sh-checker@v0.1.4
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
SHELLCHECK_OPTS: -e SC2164 SC2162 # It is posible to exclude some shellcheck warnings.
14+
with:
15+
sh_checker_comment: true

0 commit comments

Comments
 (0)