From 008a54b0cde58a46a7f53250c30897d800177171 Mon Sep 17 00:00:00 2001 From: Carsten Schumann Date: Wed, 20 Aug 2025 10:41:54 +0200 Subject: [PATCH] Feature: When using the Gitea UI to create an release the fields "name", "body" and "prerelease" are no longer overwritten with empty values. The existing data is used by default. --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 75f509d..a3d962e 100644 --- a/action.yml +++ b/action.yml @@ -10,13 +10,14 @@ inputs: body: description: "Note-worthy description of changes in release" required: false + default: ${{ github.release.body }} body_path: description: "Path to load description of changes in this release" required: false name: description: "Gives the release a custom name. Defaults to tag name" required: false - default: ${{ github.ref_name }} + default: ${{ github.event.release.name }} tag_name: description: "Gives a tag name. Defaults to github.GITHUB_REF" required: false @@ -27,6 +28,7 @@ inputs: prerelease: description: "Identify the release as a prerelease. Defaults to false" required: false + default: ${{ github.event.release.prerelease }} files: description: "Newline-delimited list of path globs for asset files to upload" required: false