From 3202d8cdde523d720ae4a7cd3aafa49add3f1c91 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Wed, 14 Aug 2024 12:04:46 +0700 Subject: [PATCH] ci: Message input [skip ci] --- .github/workflows/build_push.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 7d099a733b..554cf16766 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -14,6 +14,11 @@ on: default: false required: false type: boolean + message: + description: 'Message for releases (the text at the top of changelog)' + default: '' + required: false + type: string concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }} @@ -185,8 +190,9 @@ jobs: tag_name: ${{ env.VERSION_TAG }} name: Yōkai ${{ env.VERSION_TAG }} body: | - ${{ steps.changelog.outputs.CHANGELOG }} + ${{ github.event.inputs.message }} + ${{ steps.changelog.outputs.CHANGELOG }} --- ### Checksums @@ -229,7 +235,6 @@ jobs: It is not ready for daily use and we do not guarantee its usability. Please download the latest stable releases instead (https://github.com/null2264/yokai/releases/latest). If you insist, please be sure to ALWAYS backup before updating. ${{ steps.changelog.outputs.CHANGELOG }} - --- ### Checksums