Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix github action "Split Packages" on forked monorepo #1276

Conversation

netzknecht
Copy link
Contributor

@netzknecht netzknecht commented Sep 27, 2023

Adds variables for package to repository mapping inside .github/workflows/split_packages.yml, to allow package splitting on a forked monorepo, with deviating repository names.

Available variables:

  • SPLIT_PACKAGES (type: JSON array literal as string; default: ["admin", "core", "licensing"])
  • SPLIT_PACKAGES_REPOSITORIES (type: false|JSON array literal as string; default: false)
  • SPLIT_UTILS (type: JSON array literal as string; default: ["livewire-tables", "scout-database-engine"])
  • SPLIT_UTILS_REPOSITORIES: (type: false|JSON array literal as string; default: false)

If the *_REPOSITORIES variable is set to false, the name of the packages/utils get used as repository name.

@vercel
Copy link

vercel bot commented Sep 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 28, 2023 8:26am

@netzknecht netzknecht changed the title Fix github action "Split Packages" for monorepo on forks Fix github action "Split Packages" on forked monorepo Sep 27, 2023
@netzknecht netzknecht force-pushed the fix-github-action-split-packages-on-forks branch from afeacdd to d0bb431 Compare September 28, 2023 07:56
Use variables for package and repository mapping.
@netzknecht
Copy link
Contributor Author

New version here #1277.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant