ci: Message input [skip ci]

This commit is contained in:
Ahmad Ansori Palembani 2024-08-14 12:04:46 +07:00
parent 0b1ed293f3
commit 3202d8cdde
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -14,6 +14,11 @@ on:
default: false default: false
required: false required: false
type: boolean type: boolean
message:
description: 'Message for releases (the text at the top of changelog)'
default: ''
required: false
type: string
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }} group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'workflow_dispatch' }}
@ -185,8 +190,9 @@ jobs:
tag_name: ${{ env.VERSION_TAG }} tag_name: ${{ env.VERSION_TAG }}
name: Yōkai ${{ env.VERSION_TAG }} name: Yōkai ${{ env.VERSION_TAG }}
body: | body: |
${{ steps.changelog.outputs.CHANGELOG }} ${{ github.event.inputs.message }}
${{ steps.changelog.outputs.CHANGELOG }}
--- ---
### Checksums ### 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. 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 }} ${{ steps.changelog.outputs.CHANGELOG }}
--- ---
### Checksums ### Checksums