Skip to content

Commit

Permalink
Add shellcheck (via reviewdog) GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb committed Dec 2, 2020
1 parent 3a5fe2e commit 7d9ee5e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: reviewdog
on: [pull_request]
jobs:
shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}

# Report findings on any changed lines (not just added).
filter_mode: diff_context

0 comments on commit 7d9ee5e

Please sign in to comment.