A composite action bundles steps under runs.using: composite in action.yml. Call it from a step, supply declared inputs, and select a shell for its run steps. A local action requires repository files to exist first, normally through checkout. Keep its contract small enough for callers to understand its effects. It shares the caller job rather than provisioning another runner. JavaScript and Docker actions have different execution models and are discussed separately.
The browser runner evaluates a bounded model of the workflow. It doesn't start a hosted machine, contact GitHub or execute arbitrary shell programs. Use the event and run details to check the result. Saving valid YAML alone doesn't prove that the intended job ran.
A composite action runs as a step and bundles steps described by action.yml. It needs checkout before a local path can resolve. Reusable workflows instead occupy a job.