olivr-test/Copybara Action 2

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

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 21, 2025
License
Apache 2.0
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: olivr-test/copybara-action-test@8d09c480b614e0e7f0365f2da6714e34c305b0cb # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
ssh_keySSH public key.yes
access_tokenPersonal access token with `repo` permissions. Always required on *destination*. Required on *SoT* only if the variable `sot_branch` below is left empty and to decide between **push** and **init** workflows.no
sot_repoSource repository (Source of Truth).no
sot_branchSoT branch. Defaults to your repository's default branch.no""
destination_repoDestination repository.no
destination_branchDestination branch. Defaults to the same as your SoT's branch name.no""
push_includeFiles to include when pushing from SoT => Destination (space separated globs). Defaults to all files.no**
push_excludeFiles to exclude when pushing from SoT => Destination (space separated globs). Defaults to none.no""
push_moveFiles to move before pushing from SoT => Destination. In the format `from||to||match` where `match` is a glob filter to match only specific files within `from` (defaults to all). Separate each move operation by a line return. Defaults to reverse of `pr_move`. `push_move` is always run before `push_replace`.no""
push_replaceFiles to replace before pushing from SoT => Destination. In the format `search||replace||match` where `match` is a glob filter to search only those files (defaults to all). Separate each replace operation by a line return. Defaults to reverse of `pr_replace`. `push_replace` is always run after `push_move`.no""
pr_includeFiles to include when pulling from Destination => SoT (space separated globs). Defaults to all files.no**
pr_excludeFiles to exclude when pulling from Destination => SoT (space separated globs). Defaults to none.no""
pr_moveFiles to move before pushing from Destination => SoT. In the format `from||to||match` where `match` is a glob filter to match only specific files within `from` (defaults to all). Separate each move operation by a line return. Defaults to none. `pr_move` is always run after `pr_replace`.no""
pr_replaceFiles to replace before pushing from Destination => SoT. In the format `search||replace||match` where `match` is a glob filter to search only those files (defaults to all). Separate each replace operation by a line return. Defaults to none. `pr_replace` is always run before `pr_move`.no""
committerWho will commit changes (author will be original committer).noGithub Actions <actions@github.com>
custom_configCopybara custom configuration file to use. Using this will ignore all the pr_* and push_* inputs.no""
workflowWorkflow to execute. Defaults to auto-detect (init / push / pr).no""
copybara_optionsUse this, if you want to manually specify some command line options (space-separated).no""
ssh_known_hostsSSH known hosts file contents, for authenticating with Copybara with another Git server. GitHub is always included by default.no""
copybara_imageCopybara Docker image to run.noolivr/copybara
copybara_image_tagCopybara Docker image tag to use.nolatest
pr_numberIf you manually specified the 'pr' workflow, you will need to specify the PR number as well.no""
create_repoIf the destination repo doesn't exist, it will be created (subject to enough permissions attached to the access token).noyes

no outputs