Update fix-formatting-and-license.yml

This commit is contained in:
Adrian Baumgart 2024-03-31 21:46:07 +02:00 committed by GitHub
parent 3849ae09ed
commit 508a392a94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,5 +41,8 @@ jobs:
run: | run: |
git config --global user.name 'Github Actions' git config --global user.name 'Github Actions'
git config --global user.email 'adrian@abmgrt.dev' git config --global user.email 'adrian@abmgrt.dev'
git commit -am "Auto-corrected formatting and license file" git add -A
if ! git diff-index --quiet HEAD; then
git commit -m "Auto-corrected formatting and license file"
git push git push
fi