Unverified Commit fa5ccdb7 authored by Licho's avatar Licho

fix

Signed-off-by: 's avatarLicho <chinabhsun@gmail.com>
parent 0b2ed1f1
...@@ -27,8 +27,7 @@ jobs: ...@@ -27,8 +27,7 @@ jobs:
- name: Check for modified files - name: Check for modified files
id: git-check id: git-check
run: | run: |
echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> echo "modified=$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT
$GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v4 - uses: stefanzweifel/git-auto-commit-action@v4
if: steps.git-check.outputs.modified == 'true' if: steps.git-check.outputs.modified == 'true'
with: with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment