Actions & PR Template verbessern #223
@@ -142,21 +142,22 @@ jobs:
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||
run: |
|
||||
# git fetch origin ${{ gitea.ref_name }}
|
||||
|
||||
git fetch origin ${{ gitea.head_ref }}
|
||||
# git checkout ${{ gitea.ref_name }}
|
||||
git checkout ${{ gitea.head_ref }}
|
||||
|
||||
if [ -n "$(git status --porcelain lib test)" ]; then
|
||||
git config --global user.name "Gitea Actions [bot]"
|
||||
git config --global user.email "actions@yannick-weigert.de"
|
||||
git config pull.rebase false
|
||||
# git pull origin ${{ gitea.ref_name }}
|
||||
git pull origin ${{ gitea.head_ref }}
|
||||
git add lib/l10n
|
||||
git commit -m "Generated localizations [skip ci]"
|
||||
# git push origin HEAD:${{ gitea.ref_name }}
|
||||
git push origin HEAD:${{ gitea.head_ref }}
|
||||
else
|
||||
echo "No changes to commit"
|
||||
fi
|
||||
fi
|
||||
# git fetch origin ${{ gitea.ref_name }}
|
||||
# git checkout ${{ gitea.ref_name }}
|
||||
# git pull origin ${{ gitea.ref_name }}
|
||||
# git push origin HEAD:${{ gitea.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user