Interview Prep/GitHub Actions/Custom Actions & Reusable Workflows

What makes a good internal action or reusable workflow interface?

AdvancedConceptCustom Actions & Reusable Workflows
Answer

Small, typed, documented inputs with safe defaults; explicit secrets (no inherit across teams); outputs for everything consumers need (image digest, URL); semver releases with a changelog and a moving major tag; no hidden side effects (it should not push tags unless asked); least-privilege permissions declared inside; pinned dependencies; and a test workflow that exercises it. We also add a README with a copy-paste example and keep breaking changes to major versions, because a broken shared workflow breaks hundreds of pipelines at once.

All GitHub Actions questions Roadmap: GitHub Actions

More on Custom Actions & Reusable Workflows