Skip to content

Commit

Permalink
Check shell scripts using ShellCheck via reviewdog (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnboyes authored Jul 29, 2020
1 parent 81d7957 commit 3de3bdc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,23 @@ jobs:
name: runner / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check

shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-check
path: "."
pattern: "*.sh"
exclude: "./.git/*"

0 comments on commit 3de3bdc

Please sign in to comment.