Skip to content

Commit ca7a4a9

Browse files
Merge pull request #47 from asaasdev/hotfix/github-workspace-safe-directory
Hotfix: Problema de utilização do git em container docker
2 parents 6368c29 + 97b5a04 commit ca7a4a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ set -e
33

44
if [ -n "${GITHUB_WORKSPACE}" ] ; then
55
cd "${GITHUB_WORKSPACE}/${INPUT_WORKDIR}" || exit
6+
7+
git config --global --add safe.directory "$GITHUB_WORKSPACE" || exit
68
fi
79

810
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

0 commit comments

Comments
 (0)