Skip to content

Commit 3de3bdc

Browse files
authored
Check shell scripts using ShellCheck via reviewdog (#5)
https://github.com/reviewdog/action-shellcheck https://www.shellcheck.net/
1 parent 81d7957 commit 3de3bdc

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/reviewdog.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,23 @@ jobs:
2121
name: runner / yamllint
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v1
24+
- uses: actions/checkout@v2
2525
- name: yamllint
2626
uses: reviewdog/action-yamllint@v1
2727
with:
2828
github_token: ${{ secrets.github_token }}
2929
reporter: github-check
30+
31+
shellcheck:
32+
name: runner / shellcheck
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: shellcheck
37+
uses: reviewdog/action-shellcheck@v1
38+
with:
39+
github_token: ${{ secrets.github_token }}
40+
reporter: github-check
41+
path: "."
42+
pattern: "*.sh"
43+
exclude: "./.git/*"

0 commit comments

Comments
 (0)