Update json-master.yml

This commit is contained in:
stam 2021-01-17 03:38:48 +03:00
parent 8c0f718f13
commit 895001bd98

View File

@ -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 <stamepicmorg@users.noreply.github.com> # 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 <stamepicmorg@users.noreply.github.com> # defaults to author of the commit that triggered the run