diff --git a/.github/actions/run-reviewdog/action.yml b/.github/actions/run-reviewdog/action.yml index 6a74e31fe8..0637af31c8 100644 --- a/.github/actions/run-reviewdog/action.yml +++ b/.github/actions/run-reviewdog/action.yml @@ -24,7 +24,7 @@ runs: shell: bash - name: Run reviewdog run: | - export REVIEWDOG_GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }} + export REVIEWDOG_GITHUB_API_TOKEN="${GITHUB_TOKEN}" TMPFILE=$(mktemp) git diff > "${TMPFILE}" reviewdog \ @@ -37,4 +37,5 @@ runs: -level="warning" <"${TMPFILE}" env: REVIEWDOG_NAME: ${{ inputs.reviewdog-name }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash