-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (38 loc) · 920 Bytes
/
main.yml
File metadata and controls
41 lines (38 loc) · 920 Bytes
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
38
39
40
name: Sync commits with individual packages
on:
push:
branches:
- '*'
paths:
- packages/**
tags-ignore:
- '*'
create:
tags:
- '*'
delete:
tags:
- '*'
jobs:
sync_commits:
runs-on: ubuntu-latest
name: Sync Commits
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- uses: frankdejonge/use-github-token@1.0.2
with:
authentication: 'username:${{ secrets.PERSONAL_GITHUB_TOKEN }}'
user_name: 'Programic Bot'
user_email: 'development@programic.com'
- name: Cache splitsh
uses: actions/cache@v4
with:
path: './splitsh'
key: '${{ runner.os }}-splitsh-v101'
- name: Subtree split
uses: acrobat/subtree-splitter@v1.1.5
with:
config-path: .github/subtree-splitter.json