Skip to content

localize

localize(text, home?): string

Defined in: cli/astromech/src/generators/ci-ref/ci-ref.ts:105

text with every reference to a hosted reusable workflow at home rewritten to the file in the same checkout (./.github/workflows/<name>.yml, always the flat name, whichever spelling the reference had). For the repo that hosts the reusables: its own callers then run the reusable at their own commit, so a PR that edits one exercises it. Composite actions are left on their full ref, because a reusable called from another repository cannot see this checkout.

string

CiHome = CI_HOME

string