Skip to content

Commit 6f61f3c

Browse files
committed
Add gitsplit action
1 parent 081178c commit 6f61f3c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: gitsplit
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- split
7+
release:
8+
types: [published]
9+
create:
10+
workflow_dispatch:
11+
12+
jobs:
13+
gitsplit:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: checkout
17+
run: git clone "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" "$GITHUB_WORKSPACE" && cd "$GITHUB_WORKSPACE" && git checkout $GITHUB_SHA
18+
- name: Split repositories
19+
uses: docker://jderusse/gitsplit:latest
20+
with:
21+
args: gitsplit
22+
env:
23+
GH_TOKEN: ${{ secrets.GITSPLIT_TOKEN }}

0 commit comments

Comments
 (0)