Skip to content

Commit

Permalink
Fix permission error after git update (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ol0lll authored Apr 19, 2022
1 parent 82646dc commit ec634a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
set -e

if [ -n "${GITHUB_WORKSPACE}" ]; then
cd "${GITHUB_WORKSPACE}" || exit
fi
cd "${GITHUB_WORKSPACE}" || exit 1

git config --global --add safe.directory $GITHUB_WORKSPACE || exit 1

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

Expand Down

0 comments on commit ec634a7

Please sign in to comment.