Skip to content

Transform and move code between repositories. Start with ZERO config and 100% customizable.

License

Notifications You must be signed in to change notification settings

thatdot/copybara-action

This branch is 3 commits ahead of, 5 commits behind Olivr/copybara-action:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7315294 · May 13, 2024

History

76 Commits
Sep 24, 2020
Jun 17, 2022
Mar 31, 2023
Jul 16, 2021
Mar 31, 2023
Sep 18, 2020
Sep 18, 2020
Sep 18, 2020
Sep 23, 2020
Sep 18, 2020
Sep 18, 2020
Sep 19, 2020
Oct 1, 2020
May 10, 2024
Sep 18, 2020
Sep 24, 2020
Sep 23, 2020
Sep 24, 2020

Repository files navigation

Copybara Action

Google's 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

 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, you can make it whatever you want it to be in advanced usage.

💬 Support

About

Transform and move code between repositories. Start with ZERO config and 100% customizable.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 77.3%
  • JavaScript 18.4%
  • Shell 4.3%