Skip to content

Commit

Permalink
Merge pull request #1859 from GiganticMinecraft/fix/env
Browse files Browse the repository at this point in the history
ci: 変数展開を修正
  • Loading branch information
Lucky3028 authored Feb 7, 2023
2 parents 04c2760 + fb59f2e commit 3691bb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/run-reviewdog/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -37,4 +37,5 @@ runs:
-level="warning" <"${TMPFILE}"
env:
REVIEWDOG_NAME: ${{ inputs.reviewdog-name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash

0 comments on commit 3691bb4

Please sign in to comment.