Skip to content

Commit

Permalink
Merge pull request #136 from reviewdog/revert-135-pbhandari-fix-git-e…
Browse files Browse the repository at this point in the history
…rror

Revert "fix: git error introduced in git 2.35.2"
  • Loading branch information
haya14busa committed Apr 19, 2022
2 parents 6b7fbc1 + 180609b commit d6a47b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions script.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/sh

if [ -n "${GITHUB_WORKSPACE}" ] ; then
cd "${GITHUB_WORKSPACE}/${INPUT_WORKDIR}" || exit 1
git config --global --add safe.directory "${GITHUB_WORKSPACE}" || exit 1
fi
cd "${GITHUB_WORKSPACE}/${INPUT_WORKDIR}" || exit 1

TEMP_PATH="$(mktemp -d)"
PATH="${TEMP_PATH}:$PATH"
Expand Down

0 comments on commit d6a47b2

Please sign in to comment.