clone-siblings

Clone sibling repos

Clone FSH sibling repos next to $GITHUB_WORKSPACE so editable / file: path deps resolve at uv sync / yarn install time. Each sibling authenticates with its OWN read-only deploy key (a deploy key only authorizes one repo), pinned with IdentitiesOnly so one shared agent doesn’t auth as the first key and 404 the rest. Pass each key in via an env var named DEPLOY_KEY_ on the calling step – the repo name uppercased with hyphens turned into underscores (e.g. codegen-database -> DEPLOY_KEY_CODEGEN_DATABASE). Run actions/checkout first.

Inputs

Input

Required

Default

Description

repos

yes

Whitespace/newline-separated list of sibling repo names to clone.

org

no

FSHTech

GitHub org the siblings live under.

ref

no

main

Branch to clone for each sibling.

Usage

- uses: actions/checkout@v6
- uses: FSHTech/github-actions/clone-siblings@v1
  with:
    repos: ...