>_ IzzyLab

Topic breakdown

A reusable workflow doesn't run on its own on push/PR, but is called from another one like a function with parameters; this mode is enabled by the workflow_call trigger under on: (not to be confused with workflow_dispatch — that's about a manual run from the UI/API). Inputs are described in inputs:, each with a type (string/number/boolean) and required (true, otherwise a default is needed); values are read inside jobs via the ${{ inputs.* }} context. The calling workflow includes the file via uses: with a with: block, passing the input values.

What's checked

  1. the workflow passes actionlint
  2. workflow_call with required input environment
  3. the environment input is of type string

What it looks like