0vas/Enterprise Repository Bridge
Bridge repos between orgs with support for GitHub.com & GHES. Auto-sets branch protection & GHAS config.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 11, 2025
- License
- MIT
Pinned Snippet
uses: 0vas/enterprise-repository-bridge@4d2e86d0c743e25d9fec482d261a40d227e80ae1 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository_name | Name of the repository to clone | yes | — |
| source_org | Source organization to clone the repository from | no | — |
| target_org | Target organization to clone the repository | no | — |
| source_ghec_url | Source GitHub URL (default: github.com for GitHub Cloud) | no | github.com |
| target_ghec_url | Target GitHub URL (default: github.com for GitHub Cloud) | no | github.com |
| default_ruleset | Enable default branch protection rules? | no | true |
| ghas_config | Configuration for GitHub Advanced Security | no | — |
| source_pat | Personal Access Token for source org | yes | — |
| target_pat | Personal Access Token for target org | yes | — |
| clone_only | Only perform cloning step (skip other configuration steps) | no | false |
| skip_runner_token | Skip getting runner token | no | false |
| skip_metadata | Skip getting repository metadata | no | false |
Outputs
| name | description |
|---|---|
| repository_url | URL of the cloned repository in the target organization |
| repository_name | Full name of the repository (org/repo) |
| clone_status | Status of the cloning operation |
| target_org | Target organization where repository was cloned |