From 9ca8dcac95bfd7e0cefc3b4576f533e4a95114e1 Mon Sep 17 00:00:00 2001 From: Carsten Schumann Date: Mon, 20 Oct 2025 11:59:36 +0200 Subject: [PATCH] Bugfix: body_path was ignored because of default body. --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index a3d962e..cf4d15d 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ --- name: gitea-release-action description: "An action to support publishing release to Gitea." -author: "Akkuman" +author: "Grypho" inputs: server_url: description: the base url of the gitea API @@ -10,7 +10,7 @@ inputs: body: description: "Note-worthy description of changes in release" required: false - default: ${{ github.release.body }} + default: ${{ github.release.body != '' && github.release.body || null }} body_path: description: "Path to load description of changes in this release" required: false