-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 864 Bytes
/
Copy pathsplit-python.yml
File metadata and controls
30 lines (27 loc) · 864 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
name: Split Python Package
run-name: Push to Python repo for "${{ github.event.head_commit.message }}"
on:
push:
branches:
- main
paths:
- 'packages/python/**'
jobs:
split:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Split and push to skybolt-python repo
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.PYTHON_PACKAGE_DEPLOY_KEY }}
with:
source-directory: 'packages/python'
user-email: 'mail@jensroland.com'
destination-github-username: 'JensRoland'
destination-repository-name: 'skybolt-python'
target-branch: main
create-target-branch-if-needed: true
commit-message: 'Sync from monorepo: ${{ github.sha }}'