We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d65a758 commit ef7e56eCopy full SHA for ef7e56e
.github/workflows/dist.yml
@@ -26,7 +26,8 @@ jobs:
26
git config --global user.email "github-actions[bot]@users.noreply.github.com"
27
- name: Commit generated code
28
run: |
29
- git add .
30
- git commit -m "Update generated dist ($(git rev-parse --short HEAD))"
31
- git push
32
-
+ if ! git diff --exit-code --quiet; then
+ git add .
+ git commit -m "Update generated dist ($(git rev-parse --short HEAD))"
+ git push
33
+ fi
0 commit comments