Skip to content

Split up the monorepo into subrepositories #593

Split up the monorepo into subrepositories

Split up the monorepo into subrepositories #593

Workflow file for this run

name: 'Split up the monorepo into subrepositories'
on:
push:
branches:
- '5.*'
- '6.*'
- '7.*'
create:
tags:
- '*'
delete:
tags:
- '*'
jobs:
sync_commits:
runs-on: ubuntu-latest
name: Sync commits
if: github.repository == 'Kunstmaan/KunstmaanBundlesCMS'
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: frankdejonge/use-github-token@1.1.0
with:
authentication: 'kunstmaanlabs:${{ secrets.SPLITTER_TOKEN }}'
user_name: 'Kunstmaan CMS'
user_email: 'cms@kunstmaan.be'
- name: Cache splitsh-lite
uses: actions/cache@v4.1.2
with:
path: |
./splitsh
./splitsh.db
key: '${{ runner.os }}-splitsh-v101'
- name: Subtree split
uses: acrobat/subtree-splitter@v1.1.5
with:
config-path: .build/subtree-splitter-config.json
batch-size: 1