Skip to content

Commit

Permalink
chore: fix pre-release commit (#352)
Browse files Browse the repository at this point in the history
avoid an error if there is nothing to commit.
  • Loading branch information
OrKoN authored Oct 26, 2022
1 parent a95d62c commit 146771a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ jobs:
run: |
git config --global user.name 'release-please[bot]'
git config --global user.email '55107282+release-please[bot]@users.noreply.github.com'
git commit -am 'chore: generate docs'
git push --no-verify
git add --all
if ! git diff-index --quiet HEAD; then
git commit -m 'chore: generate docs'
git push --no-verify
fi

0 comments on commit 146771a

Please sign in to comment.