We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb5f8d commit b380767Copy full SHA for b380767
.github/workflows/build.yml
@@ -23,11 +23,7 @@ jobs:
23
24
- name: Commit report
25
run: |
26
- echo "git.diff" >> .gitignore
27
- git diff > git.diff
28
- [ -s git.diff ] && echo "::stop-commands::skip-commit" || echo ""
29
git config --global user.name 'joonas-bot'
30
git config --global user.email 'joonas-yoon@users.noreply.github.com'
31
- git add -A
32
- git commit -m ":construction_worker: build by github action"
33
- git push
+ git diff > git.diff
+ [ -s git.diff ] && git add -A && git commit -m ":construction_worker: build by github action" && git push || echo "Skip commit"
.gitignore
@@ -1,3 +1,2 @@
1
node_modules/
2
git.diff
3
-git.diff
0 commit comments