fix(ci): fix YAML parse error in update-badges workflow
Zero-indented lines in the commit message body broke the block scalar, preventing Gitea from parsing the file at all. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -87,11 +87,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "Badge changes detected, committing..."
|
echo "Badge changes detected, committing..."
|
||||||
git add README.md
|
git add README.md
|
||||||
git commit -m "chore: update quality badges
|
MSG="chore: update quality badges"$'\n\n'"- Pylint: ${{ steps.pylint.outputs.score }}"$'\n'"- Pyright: ${{ steps.pyright.outputs.errors }} errors"$'\n\n'"[skip ci]"
|
||||||
|
git commit -m "$MSG"
|
||||||
- Pylint: ${{ steps.pylint.outputs.score }}
|
|
||||||
- Pyright: ${{ steps.pyright.outputs.errors }} errors
|
|
||||||
|
|
||||||
[skip ci]"
|
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user