Merge pull request #3389 from acrobat/register-gemdo-doctrine-mapping… #475
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
authentication: 'kunstmaanlabs:${{ secrets.SPLITTER_TOKEN }}' | |
user_name: 'Kunstmaan CMS' | |
user_email: '[email protected]' | |
- name: Cache splitsh-lite | |
uses: actions/[email protected] | |
with: | |
path: | | |
./splitsh | |
./splitsh.db | |
key: '${{ runner.os }}-splitsh-v101' | |
- name: Subtree split | |
uses: acrobat/[email protected] | |
with: | |
config-path: .build/subtree-splitter-config.json | |
batch-size: 1 |