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 ed31d4f commit d2ac6a6Copy full SHA for d2ac6a6
.github/workflows/format-code.yml
@@ -35,7 +35,7 @@ jobs:
35
git config --global user.name 'github-actions[bot]'
36
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
37
git add .
38
- git commit -m "ci: format code"
+ git diff-index --quiet HEAD || git commit -m "ci: format code"
39
40
- name: Push changes
41
uses: ad-m/[email protected]
0 commit comments