Skip to content

Commit

Permalink
Change temp directory (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
yknz authored Jul 11, 2024
1 parent 56d404a commit a54d4ec
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,13 @@ jobs:
run: |
git diff -z --diff-filter=ACMR --name-only origin/${{github.base_ref}} HEAD \
| xargs -0 ${{ steps.detect-package-manager.outputs.runner }} textlint --fix
TMPFILE=$(mktemp)
TMPFILE=$(mktemp -p ${{runner.temp}})
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}"

0 comments on commit a54d4ec

Please sign in to comment.