Skip to content

Commit c485bd6

Browse files
committed
Fix para erro de securança git
1 parent 6368c29 commit c485bd6

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
68
fi
79

810
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

0 commit comments

Comments
 (0)