
Route a four-job workflow by event and ref: declare the push, pull_request and workflow_dispatch triggers with their branch, tag and paths filters, then gate the deploy job to the default branch, the pull-request job to pull requests and the release job to tag pushes with job-level if conditions, because act does not apply the filters under on: push:.
Replace a hardcoded release workflow with typed workflow_dispatch inputs (string, choice and boolean with defaults), add schedule, repository_dispatch and pull_request triggers with the defined cron and activity types, record each payload's own fields in the run record, and gate two steps on the boolean input so exactly one of them runs per dispatch.
Route one workflow across nine payloads: declare push, pull_request, workflow_dispatch, repository_dispatch and schedule with their filters, activity types, cron and typed inputs, then gate eight jobs by event name, ref, activity type and input so every payload runs exactly its own job set and records its own event fields, with each routing decision on a job-level if because act ignores the filters under on:.