Skip to content

Commit

Permalink
fix: only commit changes if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Sep 6, 2023
1 parent e1957d2 commit 48ebe10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- run: |
git config --global user.name 'terrestris'
git config --global user.email '[email protected]'
git commit -am "chore: automated doc generation"
git diff --quiet && git commit -am "chore: automated doc generation" || true
git push

0 comments on commit 48ebe10

Please sign in to comment.