fix: Add fail_level to reviewdog actions, use fail_on_error for shfmt

Add fail_level: error to the 5 reviewdog actions that support it
(misspell, hadolint, yamllint, actionlint, shellcheck). For shfmt,
which hasn't added fail_level support yet, use fail_on_error: true.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Michel Abboud 2026-01-31 19:41:28 +00:00
parent 31b7153275
commit a69181800f

View File

@ -58,7 +58,7 @@ jobs:
uses: reviewdog/action-shfmt@v1
with:
level: warning
fail_level: error
fail_on_error: "true"
shfmt_flags: "-i 2 -ci -bn"
github_token: ${{ secrets.GITHUB_TOKEN }}
-