GitHub Actions Fundamentals interview question

Reusable workflows or composite actions: what's the difference, and when do you use each?

Comparison Asked in DevOps Engineer interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

A composite action bundles steps into one step you can uses: inside a job; it runs on the caller's runner. A reusable workflow (on: workflow_call) is a whole workflow with its own jobs, runners, environments and secrets that another workflow calls as a job. Use composite actions for shared step sequences, reusable workflows for standard pipelines teams should follow.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More GitHub Actions Fundamentals questions

← All GitHub Actions Fundamentals questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake