Skip to content

Add fail_level and deduplicate fail_on_error #39

Add fail_level and deduplicate fail_on_error

Add fail_level and deduplicate fail_on_error #39

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
# Use shellcheck to lint shell scripts
shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
# Use misspell to correct spelling mistakes
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
# Use yamllint to lint yaml files
yamllint:
name: check / yamllint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: yamllint
uses: reviewdog/action-yamllint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true
yamllint_flags: '-d "{extends: default, rules: {truthy: disable}}" .'