Skip to content

CICD-421 · Centralized pipeline configuration ​

Encyclopedia · Platform engineering and internal developer platforms · All snippets

Previous · CICD-420 · Next · CICD-422

1. Where it fits ​

  • Placement .github/workflows/library.yml trigger fragment.
  • Prerequisites platform sandbox, scoped identities and reviewed service catalog or provisioning policy.
  • Platforms github-actions.

2. Copy the snippet ​

yaml
on:
  workflow_call:
    inputs:
      python-version:
        required: true
        type: string

3. How it works ​

The CI server evaluates this event selector before runners are allocated. Check the exact event name and configured filters.

4. Verify the result ​

Declare required inputs in the provider and version the contract. Add caller tests that consume the published workflow.

Watch for. Place event filters at workflow scope and test an event that should run and an event that should be skipped.

Validation syntax-validated (YAML parse). Status definitions.