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 2a15f36 commit 4b40dd9Copy full SHA for 4b40dd9
.github/workflows/release.yml
@@ -38,10 +38,13 @@ jobs:
38
run: pnpm run changeset:version
39
- name: Commit version files
40
run: |
41
- git config --global user.name 'Tanner Linsley'
42
- git config --global user.email '[email protected]' git add -A
43
- git commit -m "ci: Version Packages"
44
- git push
+ if [[ -n "$(git status --porcelain)" ]]; then
+ git config --global user.name 'Tanner Linsley'
+ git config --global user.email '[email protected]'
+ git add -A
45
+ git commit -m "ci: Version Packages"
46
+ git push
47
+ fi
48
env:
49
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
- name: Publish Packages
0 commit comments