Added branch checkout
This commit is contained in:
@@ -93,6 +93,7 @@ jobs:
|
|||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; 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 .
|
git add .
|
||||||
git commit -m "Auto-format code"
|
git commit -m "Auto-format code"
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user