https://github.com/hazelcast/copybara-action
https://github.com/hazelcast/copybara-action
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hazelcast/copybara-action
- Owner: hazelcast
- License: apache-2.0
- Created: 2023-12-05T19:15:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T19:17:01.000Z (about 2 years ago)
- Last Synced: 2025-06-19T09:46:53.468Z (7 months ago)
- Language: TypeScript
- Size: 1.53 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
- Support: docs/SUPPORT.md
Awesome Lists containing this project
README
# Copybara Action
Google's [Copybara](https://github.com/google/copybara) is a great tool for transforming and moving code between repositories.
This action comes with sensible defaults to make it **very easy** for you to use Copybara with Github but is also **100% customizable** so you can use it with your own config, your own Docker image.
## βΎοΈ Default flow
```text
Source of Truth Destination
+---------------+ Copybara +---------------+
| Branch +------------> | Branch |
+-------+-------+ +---------------+
^
|
|
+-------+-------+ Copybara +---------------+
| Pull Requests | <------------+ Pull Requests |
+---------------+ +---------------+
```
- One repo acts as the Source of Truth (SoT)
- One other repo acts as the destination
- SoT branch is always pushed by Copybara to destination branch
- Pull Requests can be created on both SoT and destination
- Pull Requests created on destination are always copied by Copybara to SoT
> This is the flow used for this action's [basic usage](docs/basic-usage.md), you can make it whatever you want it to be in [advanced usage](docs/advanced-usage.md).
## π₯ [Basic usage](docs/basic-usage.md)
## 𧨠[Advanced usage](docs/advanced-usage.md)
## π [All options](docs/inputs.md)
## π [Contributing](docs/CONTRIBUTING.md)
## π¬ Support
- For questions about this action: [Join Oliv'r on Keybase](https://keybase.io/team/olivr)
- For questions about Copybara: [Copybara's repo](https://github.com/google/copybara/)