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

27 lines
778 B
YAML

name: Merge core/template-android-project to this repo
env:
CORE_URL: "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: dabreadman/sync-upstream-repo@v1.3.0
with:
upstream_repo: ${{ env.CORE_REPO }}
token: ${{ env.TOKEN }}
spawn_logs: true