From 33e8fd937fd3826e39a0052c691052f8a02ab924 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 3 Mar 2020 20:51:12 +0100 Subject: [PATCH] Add changes_detected output --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 766759b..45c4d13 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,6 +7,8 @@ _main() { if _git_is_dirty; then + echo \"::set-output name=changes_detected::true\" + _setup_git _switch_to_branch @@ -17,6 +19,9 @@ _main() { _push_to_github else + + echo \"::set-output name=changes_detected::false\" + echo "Working tree clean. Nothing to commit." fi }