From 74744ee5a8d9d231f88d852355b10575159b0862 Mon Sep 17 00:00:00 2001 From: Yusuke Kanazawa Date: Sun, 21 Jul 2024 14:05:51 +0000 Subject: [PATCH] Add auto suggestions --- .github/workflows/reviewdog.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 31cdcab7f407..20b97a030e33 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -69,3 +69,11 @@ jobs: TMPFILE=$(mktemp -p ${{runner.temp}}) git diff > "${TMPFILE}" git stash -u && git stash drop || true + + reviewdog \ + -f=diff \ + -f.diff.strip=1 \ + -name=textlint-fix \ + -reporter=github-pr-review \ + -filter-mode=diff_context \ + -level=warning < "${TMPFILE}"