0vas/Enterprise Repository Bridge

Bridge repos between orgs with support for GitHub.com & GHES. Auto-sets branch protection & GHAS config.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 11, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 0vas/enterprise-repository-bridge@4d2e86d0c743e25d9fec482d261a40d227e80ae1 # v1.0.0

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

namedescriptionrequireddefault
repository_nameName of the repository to cloneyes
source_orgSource organization to clone the repository fromno
target_orgTarget organization to clone the repositoryno
source_ghec_urlSource GitHub URL (default: github.com for GitHub Cloud)nogithub.com
target_ghec_urlTarget GitHub URL (default: github.com for GitHub Cloud)nogithub.com
default_rulesetEnable default branch protection rules?notrue
ghas_configConfiguration for GitHub Advanced Securityno
source_patPersonal Access Token for source orgyes
target_patPersonal Access Token for target orgyes
clone_onlyOnly perform cloning step (skip other configuration steps)nofalse
skip_runner_tokenSkip getting runner tokennofalse
skip_metadataSkip getting repository metadatanofalse
namedescription
repository_urlURL of the cloned repository in the target organization
repository_nameFull name of the repository (org/repo)
clone_statusStatus of the cloning operation
target_orgTarget organization where repository was cloned