Added fetch
This commit is contained in:
@@ -87,10 +87,12 @@ jobs:
|
||||
- name: Format code
|
||||
if: failure()
|
||||
run: |
|
||||
git fetch origin ${{ gitea.head_ref }}
|
||||
git checkout ${{ gitea.head_ref }}
|
||||
|
||||
dart fix --apply lib
|
||||
dart fix --apply test
|
||||
# Prüfen, ob Änderungen vorhanden sind
|
||||
|
||||
if [ -n "$(git status --porcelain lib test)" ]; then
|
||||
git config --global user.name "liquid-actions[bot]"
|
||||
git config --global user.email "gitea@liquid-dev.de"
|
||||
|
||||
Reference in New Issue
Block a user