Skip to content

Commit

Permalink
Fix for Git v2.35.2 spec changes (#32)
Browse files Browse the repository at this point in the history
* Fix for Git v2.35.2 spec changes

* Exit if directory does not exist
  • Loading branch information
JohNan authored Apr 13, 2022
1 parent 0dfa4e4 commit 8bbe8cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

echo "Running check"

cd "${GITHUB_WORKSPACE}" || exit 1

git config --global --add safe.directory $GITHUB_WORKSPACE

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

if [ -n "${INPUT_PROPERTIES_FILE}" ]; then
Expand Down

0 comments on commit 8bbe8cf

Please sign in to comment.