mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Push-triggered runs can be silently dropped when GitHub throttles webhooks during an Actions incident, leaving no way to kick a build. Add a workflow_dispatch trigger as a manual escape hatch, runnable from the Actions UI. A single Resolve step computes is_release/tag from the pushed ref, the dispatched ref, or an optional `tag` input, and every downstream step keys off it — so push behavior is unchanged. Dispatch modes: run from a vX.Y.Z tag (release build of that commit), run from a branch with a `tag` input (release build attached to that tag), or run from a branch with a blank input (dev build artifact). The Release step now passes tag_name explicitly so it also works when the ref is a branch.