From 6d2c5a00b3bef4ef6ed9a9f31378229f1952fdd0 Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Thu, 12 Aug 2021 10:11:54 +0900 Subject: [PATCH] handle exit code of reviewdog --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 7f92ad9..cc8e368 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,3 +12,6 @@ actionlint -oneline ${INPUT_ACTIONLINT_FLAGS} \ -fail-on-error="${INPUT_FAIL_ON_ERROR}" \ -level="${INPUT_LEVEL}" \ ${INPUT_REVIEWDOG_FLAGS} +exit_code=$? + +exit $exit_code