Workflows um Format Stage erweitern #175
@@ -125,3 +125,17 @@ jobs:
|
||||
strategy: 'patch'
|
||||
bump-build: false
|
||||
path: './pubspec.yaml'
|
||||
|
||||
- name: Format code
|
||||
run: |
|
||||
git fetch origin ${{ gitea.head_ref }}
|
||||
git checkout ${{ gitea.head_ref }}
|
||||
|
||||
git config --global user.name "Gitea Actions [bot]"
|
||||
git config --global user.email "actions@gitea.com"
|
||||
git add lib test
|
||||
git commit -m "Updated version number"
|
||||
git push
|
||||
# Alt: git push https://oauth2:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user