We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@types/node
1 parent 4d339ae commit a9095ceCopy full SHA for a9095ce
.github/workflows/pr-checks.yml
@@ -46,11 +46,13 @@ jobs:
46
# `npm install` on Linux.
47
npm install
48
49
- git config --global user.email "[email protected]"
50
- git config --global user.name "github-actions[bot]"
51
- # The period in `git add --all .` ensures that we stage deleted files too.
52
- git add --all .
53
- git commit -m "Use @types/node=${NODE_TYPES_VERSION}"
+ if [ ! -z "$(git status --porcelain)" ]; then
+ git config --global user.email "[email protected]"
+ git config --global user.name "github-actions[bot]"
+ # The period in `git add --all .` ensures that we stage deleted files too.
+ git add --all .
54
+ git commit -m "Use @types/node=${NODE_TYPES_VERSION}"
55
+ fi
56
57
- name: Check generated JS
58
run: .github/workflows/script/check-js.sh
0 commit comments