Skip to content

Require successfully finished CI before splitting packages #38

Require successfully finished CI before splitting packages

Require successfully finished CI before splitting packages #38

name: Split Packages
on:
push:
branches:
- main
paths:
- 'src/**'
tags:
- '*'
workflow_dispatch: ~
jobs:
ci:
uses: ./.github/workflows/ci.yaml

Check failure on line 15 in .github/workflows/split_packages.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/split_packages.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/split_packages.yaml" -> "./.github/workflows/ci.yaml" (source branch with sha:9fb2fd8c561b1100e4e33f970fe5f924eb1a5236) : workflow is not reusable as it is missing a `on.workflow_call` trigger
split_monorepo:
needs: ci
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- { name: 'TwigHooks' }
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Split of ${{ matrix.package.name }}
uses: alphpaca/[email protected]
with:
package_path: 'src/${{ matrix.package.name }}'
personal_access_token: ${{ secrets.MONOPLUS_PAT }}
git_username: 'jakubtobiasz'
git_email: '[email protected]'
repository_owner: "Sylius"
repository_name: "${{ matrix.package.name }}"