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\""