-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (32 loc) · 1.09 KB
/
splitter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'Split up the monorepo into subrepositories'
on:
push:
branches:
- '5.*'
tags-ignore:
- '*'
jobs:
sync_commits:
runs-on: ubuntu-latest
name: Sync commits
if: github.repository == 'ems-project/elasticms'
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- uses: frankdejonge/[email protected]
with:
authentication: 'Davidmattei:${{ secrets.SPLITTER_TOKEN }}'
user_name: 'Davidmattei'
user_email: '[email protected]'
- name: Cache splitsh-lite
uses: actions/cache@v2
with:
path: './splitsh'
key: '${{ runner.os }}-splitsh-v101'
- name: subtree split
uses: acrobat/[email protected]
with:
config-path: .github/subtree-splitter-config.json
batch-size: 1