Interview Prep/GitHub Actions/Reuse at Scale: Reusable Workflows & Actions

A shared reusable workflow change broke 120 pipelines on Monday. How do you prevent a repeat?

IntermediateScenarioReuse at Scale: Reusable Workflows & Actions
Answer

Situation read → Consumers referenced @main and got an untested change.

What I'd do →

  1. Stop @main references: publish semver tags; consumers use @v2 or SHAs.
  2. Add a test matrix in the workflows repo that calls each reusable workflow against sample apps on every PR.
  3. Release breaking changes as a new major with a migration note and overlap period.
  4. Canary: bump a few internal repos first via Renovate grouping.

Why → Shared CI is production software and deserves release engineering.

Interview tip → "We treat the platform workflow repo like a library with semver."

All GitHub Actions questions Roadmap: GitHub Actions

More on Reuse at Scale: Reusable Workflows & Actions