From e4cb37e0a6ab2d2dfced3b118a83e21e0f799cea Mon Sep 17 00:00:00 2001 From: Jonas Grawe Date: Thu, 18 Jan 2024 00:37:08 +0100 Subject: [PATCH] feat(entrypoint): enable command logging in debug mode --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 8a2fe49..17a7c6a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,6 +35,10 @@ if [ "${RUNNER_DEBUG:-}" = "1" ]; then INPUT_DEBUG="true" fi +if [ "${INPUT_DEBUG}" = "true" ]; then + set -x +fi + export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}" echo '::group:: Setting up typos args ...'