Skip to content

workflowKey

workflowKey(name): string

Defined in: cli/astromech/src/vocabulary/workflow-key/workflow-key.ts:11

The key a manifest name has in the workflow tables (WORKFLOW_TEMPLATES, WORKFLOW_CHECK_CONTEXTS): the flat id of the workflow that carries it. A flat id is its own key; an old name maps to the first id that replaced it (sourceQuality.formatting is lint:editorconfig); a task with no workflow of its own maps to the workflow that runs its check (format is lint:code, see TaskDef.host); a name with no old name (preview, an unknown one) is its own key. See legacyWorkflowKey for the key a repo that still calls the frozen reusables uses.

string

string