hazelcast/Copybara Action 2
Transform and move code between repositories. Start with ZERO config and 100% customizable.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh_key | SSH public key. | yes | — |
| access_token | Personal 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_repo | Source repository (Source of Truth). | no | — |
| sot_branch | SoT branch. Defaults to your repository's default branch. | no | "" |
| destination_repo | Destination repository. | no | — |
| destination_branch | Destination branch. Defaults to the same as your SoT's branch name. | no | "" |
| push_include | Files to include when pushing from SoT => Destination (space separated globs). Defaults to all files. | no | ** |
| push_exclude | Files to exclude when pushing from SoT => Destination (space separated globs). Defaults to none. | no | "" |
| push_move | Files 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_replace | Files 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_include | Files to include when pulling from Destination => SoT (space separated globs). Defaults to all files. | no | ** |
| pr_exclude | Files to exclude when pulling from Destination => SoT (space separated globs). Defaults to none. | no | "" |
| pr_move | Files 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_replace | Files 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 | "" |
| committer | Who will commit changes. | no | Github Actions <actions@github.com> |
| custom_config | Copybara custom configuration file to use. Using this will ignore all the pr_* and push_* inputs. | no | "" |
| workflow | Workflow to execute. Defaults to auto-detect (init / push / pr). | no | "" |
| copybara_options | Use this, if you want to manually specify some command line options (space-separated). | no | "" |
| ssh_known_hosts | SSH known hosts file contents, for authenticating with Copybara with another Git server. GitHub is always included by default. | no | "" |
| copybara_image | Copybara Docker image to run. | no | olivr/copybara |
| copybara_image_tag | Copybara Docker image tag to use. | no | latest |
| pr_number | If you manually specified the 'pr' workflow, you will need to specify the PR number as well. | no | "" |
| create_repo | If the destination repo doesn't exist, it will be created (subject to enough permissions attached to the access token). | no | yes |
Outputs
no outputs