0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2024-12-22 23:55:47 +02:00

preventing error while committing with no changes

This commit is contained in:
Gautam krishna R 2020-11-18 18:23:33 +05:30 committed by GitHub
parent 5a4ac9002d
commit 48439d9490
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,7 +228,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 "generated" git diff-index --quiet HEAD || git commit -m "generated"
git push git push
``` ```