Skip to content

Sync Tooling Forks #23358

Sync Tooling Forks

Sync Tooling Forks #23358

# Copyright (c) 2021-2023 TiaC Systems
# SPDX-License-Identifier: Unlicense
name: Sync Tooling Forks
on:
schedule: # At every minute past hour 0, 4, 8, 12, 16, and 20.
- cron: '* 0,4,8,12,16,20 * * *'
workflow_dispatch: # And manually on button click.
jobs:
git-sync:
runs-on: ubuntu-latest
strategy:
matrix:
repo:
- git-sync
branch:
- master
- "refs/tags/*"
steps:
- name: git-sync-tooling-git-sync
uses: tiacsys/git-sync@v3
with:
source_repo: "git@github.com:wei/${{ matrix.repo }}.git"
source_branch: "${{ matrix.branch }}"
destination_repo: "git@github.com:tiacsys/${{ matrix.repo }}.git"
destination_branch: "${{ matrix.branch }}"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY_TOOLING }}
if: ${{ matrix.repo == 'git-sync' }}