unit-testing/.gitea/workflows/automerge-with-core.yaml
Владимир Шперлинг 5d463e81b9
Some checks failed
Merge core/template-android-project to this repo / merge-if-needed (push) Failing after 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Обновить .gitea/workflows/automerge-with-core.yaml
2024-03-09 14:52:44 +00:00

27 lines
804 B
YAML

name: Merge core/template-android-project to this repo
env:
CORE_REPO: "https://git.sicampus.ru/core/template-android-project.git"
TOKEN: ${{ secrets.PUSH_TOKEN }}
run-name: Merge core/template-android-project to ${{ gitea.repository }}
on:
push:
workflow_dispatch:
jobs:
merge-if-needed:
if: ${{ !contains(gitea.repository, 'core/template-android-project' ) }}
runs-on: ubuntu-latest
steps:
- run: echo "Merge core/template-android-project to ${{ gitea.repository }}"
- name: Check out repository code
uses: actions/checkout@v4
- name: Sync repos
uses: Vova-SH/sync-upstream-repo@master
with:
mode: 'branch-to-branch'
upstream_repo: ${{ env.CORE_REPO }}
token: ${{ env.TOKEN }}
spawn_logs: true