Workflows um Format Stage erweitern #175
@@ -90,11 +90,10 @@ jobs:
|
|||||||
dart fix --apply lib
|
dart fix --apply lib
|
||||||
dart fix --apply test
|
dart fix --apply test
|
||||||
# Prüfen, ob Änderungen vorhanden sind
|
# Prüfen, ob Änderungen vorhanden sind
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain lib test)" ]; then
|
||||||
git config --global user.name "liquid-actions[bot]"
|
git config --global user.name "liquid-actions[bot]"
|
||||||
git config --global user.email "gitea@liquid-dev.de"
|
git config --global user.email "gitea@liquid-dev.de"
|
||||||
# git checkout ${{gitea.head_ref}}
|
git add lib test
|
||||||
git add .
|
|
||||||
git commit -m "Auto-format code"
|
git commit -m "Auto-format code"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user