Update auto-update.yml

Prevent error while committing with no changes
This commit is contained in:
freearhey 2021-02-09 10:16:02 +03:00
parent f48bbd439e
commit 4b3bb09b5e
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ jobs:
git config user.name github-actions git config user.name github-actions
git config user.email github-actions@github.com git config user.email github-actions@github.com
git add . git add .
git commit -m "[Bot] Format playlists" git diff-index --quiet HEAD || git commit -m "[Bot] Format playlists"
git push git push
generate: generate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -52,5 +52,5 @@ jobs:
git config user.name github-actions git config user.name github-actions
git config user.email github-actions@github.com git config user.email github-actions@github.com
git add . git add .
git commit -m "[Bot] Update README.md" git diff-index --quiet HEAD || git commit -m "[Bot] Update README.md"
git push git push