Skip to content

Add fail_level and deduplicate fail_on_error #106

Add fail_level and deduplicate fail_on_error

Add fail_level and deduplicate fail_on_error #106

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
shellcheck:
name: runner / shellcheck
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: shellcheck-github-pr-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
- name: shellcheck-github-check
uses: ./
with:
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:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
pattern: '*.sh'
path: '.'
exclude: './testdata/*'
- name: shellcheck-shebang-check
uses: ./
with:
github_token: ${{ secrets.github_token }}
filter_mode: nofilter
pattern: |
*.sh
path: |
.
./testdata
exclude: |
./testdata/test.sh
*/.git/*
check_all_files_with_shebangs: true