mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 07:59:43 +00:00
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:
parent
31b7153275
commit
a69181800f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/review.yml
vendored
2
.github/workflows/review.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
uses: reviewdog/action-shfmt@v1
|
uses: reviewdog/action-shfmt@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
fail_level: error
|
fail_on_error: "true"
|
||||||
shfmt_flags: "-i 2 -ci -bn"
|
shfmt_flags: "-i 2 -ci -bn"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue