mirror of
https://gitea.com/actions/checkout.git
synced 2024-11-24 10:41:27 +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.email github-actions@github.com
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git diff-index --quiet HEAD || git commit -m "generated"
|
||||
git push
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue