Skip to content

Commit f8c4ec0

Browse files
committed
Modify Reviewdog
1 parent b361cfc commit f8c4ec0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/reviewdog-markdownlint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ jobs:
2323
fetch-depth: 0
2424

2525
- name: Run markdownlint with reviewdog
26-
uses: reviewdog/action-markdownlint@v0
26+
uses: reviewdog/action-markdownlint@v0.26.2
2727
with:
2828
github_token: ${{ secrets.GITHUB_TOKEN }}
2929
reporter: github-pr-review
3030
markdownlint_flags: '--config .markdownlint.yml **/*.md'
31+
level: error
32+
filter_mode: diff
33+
fail_level: none
34+
reviewdog_flags: '-diff="git diff HEAD^..HEAD"'

0 commit comments

Comments
 (0)