mirror of
https://github.com/actions/checkout.git
synced 2024-11-22 19:29:32 +01:00
preventing error while committing with no changes
This commit is contained in:
parent
5a4ac9002d
commit
48439d9490
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue