Skip to content

localizeActions

localizeActions(text, names, home?): string

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

text with each reference to a hosted composite action in names at home rewritten to its folder in the same checkout (./ci/actions/<name>). For the written copy of a reusable in the repo that hosts it, which only that repo’s own callers run: a change to the action then takes effect at the PR’s own commit, instead of waiting for the frozen copy in theholocron/.github that home still names. An action not in names keeps its full ref.

string

readonly string[]

CiHome = CI_HOME

string