kopie van
https://github.com/dockur/windows.git
synced 2026-06-10 11:59:33 +08:00
fix: Add fail_level to reviewdog actions (#1759)
This commit is contained in:
@@ -22,6 +22,7 @@ jobs:
|
||||
with:
|
||||
locale: "US"
|
||||
level: warning
|
||||
fail_level: error
|
||||
pattern: |
|
||||
*.md
|
||||
*.sh
|
||||
@@ -32,6 +33,7 @@ jobs:
|
||||
uses: reviewdog/action-hadolint@v1
|
||||
with:
|
||||
level: warning
|
||||
fail_level: error
|
||||
reporter: github-pr-review
|
||||
hadolint_ignore: DL3006 DL3008
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -40,6 +42,7 @@ jobs:
|
||||
uses: reviewdog/action-yamllint@v1
|
||||
with:
|
||||
level: warning
|
||||
fail_level: error
|
||||
reporter: github-pr-review
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
@@ -55,6 +58,7 @@ jobs:
|
||||
if: false
|
||||
with:
|
||||
level: warning
|
||||
fail_on_error: "true"
|
||||
shfmt_flags: "-i 2 -ci -bn"
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
@@ -62,6 +66,7 @@ jobs:
|
||||
uses: reviewdog/action-shellcheck@v1
|
||||
with:
|
||||
level: warning
|
||||
fail_level: error
|
||||
reporter: github-pr-review
|
||||
shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Verwijs in nieuw issue
Block a user