From 8231d7e03fe084ec5ce96d453d257bf477c018ed Mon Sep 17 00:00:00 2001 From: Wilf Wilson Date: Wed, 3 Sep 2025 21:48:21 +0100 Subject: [PATCH] Add a body-text input, for describing the GitHub release --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4912e6d..b655ef0 100644 --- a/action.yml +++ b/action.yml @@ -10,6 +10,10 @@ inputs: description: "Set to true to allow this action to overwrite an existing release, and to make a release with an incorrect date" required: false default: "false" + body-text: + description: "Body text for the new GitHub release that will appear on the package's GitHub Releases page" + required: false + default: "Release of ${{ github.event.repository.name }}" runs: using: "composite" @@ -167,8 +171,8 @@ runs: uses: softprops/action-gh-release@v2 if: ${{ inputs.dry-run == 'false' }} with: - body: "Release for ${{ env.PKGNAME }}" name: "${{ env.PKGNAME }} ${{ env.VERSION }}" + body: "${{ inputs.body-text }}" fail_on_unmatched_files: true tag_name: "${{ env.TAG }}" files: ${{ env.ASSETS }}/*