7ed689587b
The release-action@main reads GITHUB_REF directly and rejects anything that doesn't start with refs/tags/. The previous workflow tried to work around this by passing tag_name as an action input, but the action's action.yml never declared tag_name (or body_path) - both inputs were silently ignored, which is why every Gitea release since v1.4.1 was published with an empty body. Changes: - New "Validate tag ref" step fails fast with a clear message when the workflow is dispatched from a branch ref instead of a tag ref. - workflow_dispatch.inputs.tag dropped; recovery now means picking the tag from Gitea's Ref dropdown so GITHUB_REF lines up with refs/tags/. - release-body.md is re-emitted as a step output and passed via body: (the input the action actually reads) instead of body_path. - tag_name input removed from the action call - the action derives the tag from GITHUB_REF_NAME on its own.