feat(ci): parse if there are any changes

This commit is contained in:
Mikołaj Młodzikowski 2023-09-19 10:04:46 +02:00
parent c98e53a984
commit e1557f51ce
No known key found for this signature in database

View File

@ -329,7 +329,9 @@ jobs:
fi fi
# create commit # create commit
if ! git diff --cached --exit-code; then
commit_msg="Automated hash update from ${{ github.ref }}" commit_msg="Automated hash update from ${{ github.ref }}"
git commit -m "$commit_msg" git commit -m "$commit_msg"
git push -u origin "main" git push -u origin "main"
fi
) )