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:
|
with:
|
||||||
locale: "US"
|
locale: "US"
|
||||||
level: warning
|
level: warning
|
||||||
|
fail_level: error
|
||||||
pattern: |
|
pattern: |
|
||||||
*.md
|
*.md
|
||||||
*.sh
|
*.sh
|
||||||
@@ -32,6 +33,7 @@ jobs:
|
|||||||
uses: reviewdog/action-hadolint@v1
|
uses: reviewdog/action-hadolint@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
|
fail_level: error
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
hadolint_ignore: DL3006 DL3008
|
hadolint_ignore: DL3006 DL3008
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -40,6 +42,7 @@ jobs:
|
|||||||
uses: reviewdog/action-yamllint@v1
|
uses: reviewdog/action-yamllint@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
|
fail_level: error
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
@@ -55,6 +58,7 @@ jobs:
|
|||||||
if: false
|
if: false
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
|
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 }}
|
||||||
-
|
-
|
||||||
@@ -62,6 +66,7 @@ jobs:
|
|||||||
uses: reviewdog/action-shellcheck@v1
|
uses: reviewdog/action-shellcheck@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
|
fail_level: error
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Verwijs in nieuw issue
Block a user