feat: add monorepo split workflow to sync packages to sub-repositories#18
Conversation
|
Hey! Thanks for throwing this up. Right now this repo uses https://www.subtreesplit.com. Little tool created by Tobias Nyholm from the symfony team (and co-creator of php-cache with me), and Fabien. Its SUPPOSED to sync the tags when they are pushed, but right now its saying they are all up to date. I did reach out to Tobias to try to debug this issue and get it fixed, but i havent heard back yet. |
|
yea I figured we could automate it with a workflow, I had a good chat with Tobias at SymfonyCon, super cool guy but I also pinged him for an update on |
|
@cryptiklemur let me know if there's anything I can help with, to fix the tags. I would need the Symfony 8 support for all of them :) |
|
yeah, unfortunately no response from @Nyholm |
|
Hello. :/ |
|
No worries! I was trying to ping you on X, but the issue is just this: #18 (comment) |
|
Oh, Yeah. I basically stopped being there since Elon took over. Should I still take a look and see what's up? |
|
@cryptiklemur make sure to create a PAT and set the action secret |
heh, totally valid. I did the same thing. If you find some spare time, sure, not a big deal though. |
It needs a workflow_dispatch event trigger to run by hand |
|
@cryptiklemur you're right, there you go: #19 |
|
🎉 This PR is included in version 4.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Package Mapping
src/Core/secretary/php-coresrc/Adapter/AWS/SecretsManager/secretary/php-aws-secrets-manager-adaptersrc/Adapter/GCP/SecretsManager/secretary/php-gcp-secrets-manager-adaptersrc/Adapter/Hashicorp/Vault/secretary/php-hashicorp-vault-adaptersrc/Adapter/Local/JSONFile/secretary/php-json-file-adaptersrc/Adapter/Cache/PSR6Cache/secretary/php-psr6-cache-adaptersrc/Adapter/Cache/PSR16Cache/secretary/php-psr16-cache-adaptersrc/Adapter/Chain/secretary/php-chain-adaptersrc/Bundle/SecretaryBundle/secretary/php-secretary-bundleRequired Setup
Important
A repository secret
SPLIT_TOKENmust be configured before this workflow will function.reposcopesecretary/*sub-repositoriesSPLIT_TOKENThe default
GITHUB_TOKENcannot push to other repositories, hence the need for a PAT.Test plan
SPLIT_TOKENsecret