Require successfully finished CI before splitting packages #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / .github/workflows/split_packages.yamlInvalid workflow file
|
||
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 }}" |