1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-25 12:05:51 +00: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.email github-actions@github.com
git add .
git commit -m "generated"
git diff-index --quiet HEAD || git commit -m "generated"
git push
```