Skip to content

Commit

Permalink
Merge pull request #11 from reviewdog/fix-shellcheckflags
Browse files Browse the repository at this point in the history
Add missing shellcheck_flags input
  • Loading branch information
haya14busa authored May 25, 2020
2 parents a2c1fcd + 3c141a8 commit e817139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
github_token: ${{ secrets.github_token }}
reporter: github-check
level: warning
filter_mode: file
pattern: '*.sh'
path: '.'
exclude: './testdata/*'
shellcheck_flags: '--external-sources --severity=style'
- name: shellcheck-github-pr-review
uses: ./
with:
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ inputs:
default: '*.sh'
exclude:
description: "Exclude patterns of target files. Same as `-not -path [exclude]` of `find` command."
shellcheck_flags:
description: "Flags of shellcheck command."
default: '--external-sources'
runs:
using: 'docker'
image: 'Dockerfile'
Expand Down

0 comments on commit e817139

Please sign in to comment.