Skip to content

legacyCaller

legacyCaller(id, yaml): string

Defined in: cli/astromech/src/vocabulary/legacy-caller/legacy-caller.ts:13

The thin caller yaml of task id spelled with the names it had before they became the task id: the old workflow name: and the old id and name: of each job. This is the legacy-name gate (spec ci-flat-task-vocabulary, phase F): a repo whose callers still call the frozen reusables in theholocron/.github keeps the checks its ruleset lists, so only the repo that hosts the reusables (and, later, every repo once CI_HOME is ci-v1) gets the flat names. An id with no old spelling is returned as it is. Only a job name: that is the id is rewritten, so a name a caller builds itself (the grouped release’s matrix name) is left to the entry’s replace.

string

string

string