diff --git a/.github/workflows/json-master.yml b/.github/workflows/json-master.yml index 9c1ed2c..bb53aa2 100644 --- a/.github/workflows/json-master.yml +++ b/.github/workflows/json-master.yml @@ -41,7 +41,15 @@ jobs: ls -las ./update.sh cd .. - + + - name: Commit changes + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Atlassian JSON Autoupdated + commit_user_name: stamepicmorg # defaults to "GitHub Actions" + commit_user_email: stamepicmorg@users.noreply.github.com # defaults to "actions@github.com" + 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 run: | @@ -72,12 +80,4 @@ jobs: - name: "Do nothing if no changes have been detected" if: steps.commit.outputs.changes_detected == false run: echo "No Changes!" - - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Atlassian JSON Autoupdated - commit_user_name: stamepicmorg # defaults to "GitHub Actions" - commit_user_email: stamepicmorg@users.noreply.github.com # defaults to "actions@github.com" - commit_author: stamepicmorg # defaults to author of the commit that triggered the run