From eef5f33ea3dc5b080446cb0be02d20714d65d308 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 3 Mar 2020 21:04:57 +0100 Subject: [PATCH] WIP --- .github/workflows/git-auto-commit.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/git-auto-commit.yml b/.github/workflows/git-auto-commit.yml index d21103c..a9f16ff 100644 --- a/.github/workflows/git-auto-commit.yml +++ b/.github/workflows/git-auto-commit.yml @@ -13,5 +13,10 @@ jobs: id: "auto-commit-action" uses: ./ - - name: "outputs" - run: "echo \"${{ steps.auto-commit-action.outputs.changes_detected }}\"" + - name: "no changes detected" + if: steps.auto-commit-action.outputs.changes_detected == false + run: "echo \"No changes detected\"" + + - name: "changes detected" + if: steps.auto-commit-action.outputs.changes_detected == true + run: "echo \"Changes detected\""