From b743d6361f3b7bb19112b74abf98dbdc40451a5f Mon Sep 17 00:00:00 2001 From: stam Date: Sun, 17 Jan 2021 03:59:45 +0300 Subject: [PATCH] Update json-master.yml --- .github/workflows/json-master.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/json-master.yml b/.github/workflows/json-master.yml index f614753..e2367c6 100644 --- a/.github/workflows/json-master.yml +++ b/.github/workflows/json-master.yml @@ -53,13 +53,13 @@ jobs: commit_author: stamepicmorg # defaults to author of the commit that triggered the run - name: "Notify if changes have been detected" - if: steps.commit.outputs.changes_detected == 'true' + if: steps.auto-commit-action.outputs.changes_detected == 'true' run: | echo "Changes! Notify!" curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null - name: "Tag new version if changes have been detected" - if: steps.commit.outputs.changes_detected == 'true' + if: steps.auto-commit-action.outputs.changes_detected == 'true' id: "tag" uses: "anothrNick/github-tag-action@1.30.0" env: @@ -69,7 +69,7 @@ jobs: DEFAULT_BUMP: patch - name: "Create release if changes have been detected" - if: steps.commit.outputs.changes_detected == 'true' + if: steps.auto-commit-action.outputs.changes_detected == 'true' uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GHT }} @@ -80,6 +80,6 @@ jobs: body: "Update stubs" - name: "Do nothing if no changes have been detected" - if: steps.commit.outputs.changes_detected == 'false' + if: steps.auto-commit-action.outputs.changes_detected == 'false' run: echo "No Changes!"