diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 349d76330287..c01283912e97 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -66,7 +66,8 @@ 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 -p ${{runner.temp}}) + mkdir ~/tmp + TMPFILE=$(mktemp -p ~/tmp) git diff > "${TMPFILE}" git stash -u && git stash drop || true