Skip to content

Commit b380767

Browse files
committed
fix: minor fixes
1 parent 1bb5f8d commit b380767

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ jobs:
2323

2424
- name: Commit report
2525
run: |
26-
echo "git.diff" >> .gitignore
27-
git diff > git.diff
28-
[ -s git.diff ] && echo "::stop-commands::skip-commit" || echo ""
2926
git config --global user.name 'joonas-bot'
3027
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
28+
git diff > git.diff
29+
[ -s git.diff ] && git add -A && git commit -m ":construction_worker: build by github action" && git push || echo "Skip commit"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
node_modules/
22
git.diff
3-
git.diff

0 commit comments

Comments
 (0)