Interview Prep/GitHub Actions/Custom Actions & Reusable Workflows

What can a composite action not do compared to a job?

IntermediateConceptCustom Actions & Reusable Workflows
Answer

It cannot read the secrets context (pass secrets as inputs), cannot set runs-on, environment, permissions, services, strategy or timeout-minutes for the job, and cannot define job-level concurrency. Its steps show as one collapsed step in the log (less visibility), and continue-on-error support inside composite steps is limited. If you need any of those, you want a reusable workflow.

All GitHub Actions questions Roadmap: GitHub Actions

More on Custom Actions & Reusable Workflows