Skip to content

Commit

Permalink
Merge pull request #82 from reviewdog/enable-debugging-mode
Browse files Browse the repository at this point in the history
show debug logs if debug mode is enabled
  • Loading branch information
shogo82148 committed Nov 24, 2022
2 parents 4315cb2 + ebd5ca3 commit 4decc2a
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
@@ -1,5 +1,9 @@
#!/bin/sh

if [ "${RUNNER_DEBUG}" = "1" ] ; then
set -x
fi

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

0 comments on commit 4decc2a

Please sign in to comment.