Skip to content

Use nxtlvlsoftware/git-subtree-action@1.1 #22

Use nxtlvlsoftware/git-subtree-action@1.1

Use nxtlvlsoftware/git-subtree-action@1.1 #22

Workflow file for this run

name: Subtree Split for composer packages
on:
push:
# Only trigger for specific branches or changes in specific paths.
branches:
- 'main'
# Tag push events should be ignored, they will be handled with the create event below.
tags-ignore:
- '*'
create:
tags:
- 'v*'
delete:
tags:
- 'v*'
jobs:
sync_commits:
runs-on: ubuntu-latest
name: Sync commits
if: github.repository == 'ueberbit/uebertool' # Execute this workflow job only on the main repository.
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- uses: nxtlvlsoftware/git-subtree-action@1.1
with:
repo: 'ueberbit/subtree-uebertool-companion'
path: 'packages/uebertool-companion'
deploy_key: ${{ secrets.SUBTREE_SPLIT_PRIVATE_KEY }}
force: true