Обновить .gitea/workflows/automerge-with-core.yaml
This commit is contained in:
parent
0527b7fe96
commit
49d7721414
@ -16,18 +16,10 @@ jobs:
|
|||||||
- run: echo "Merge core/template-android-project to ${{ gitea.repository }}"
|
- run: echo "Merge core/template-android-project to ${{ gitea.repository }}"
|
||||||
- run: |
|
- run: |
|
||||||
git config --global credential.helper '!f() { sleep 1; echo "username=vladimir-shperling=${{ TOKEN }}"; }; f'
|
git config --global credential.helper '!f() { sleep 1; echo "username=vladimir-shperling=${{ TOKEN }}"; }; f'
|
||||||
echo "Cloning Core"
|
git clone https://sicampus.ru/gitea/${{ gitea.repository }}
|
||||||
git clone https://sicampus.ru/gitea/core/template-android-project /core
|
git remote add upstream https://sicampus.ru/gitea/core/template-android-project.git
|
||||||
echo "Cloning Repo"
|
git fetch upstream
|
||||||
git clone https://sicampus.ru/gitea/${{ gitea.repository }} /repo
|
git rebase upstream/main
|
||||||
cd /repo
|
|
||||||
echo "Cloning Remote core"
|
|
||||||
git remote add core /core
|
|
||||||
echo "Cloning Fetch core"
|
|
||||||
git fetch core
|
|
||||||
echo "Cloning Merge core"
|
|
||||||
git rebase core/main
|
|
||||||
echo "Cloning Push core"
|
|
||||||
git push --force
|
git push --force
|
||||||
echo "OK"
|
echo "OK"
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user