From 7075e6561e61f431c54b72790374d7682edc47b8 Mon Sep 17 00:00:00 2001 From: hatajoe Date: Wed, 16 Jul 2025 16:58:34 +0900 Subject: [PATCH] feat(.github/actions/release-by-merge): add pre-release input --- .github/actions/release-by-merge/action.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/release-by-merge/action.yml b/.github/actions/release-by-merge/action.yml index 6610eae..f1b82c7 100644 --- a/.github/actions/release-by-merge/action.yml +++ b/.github/actions/release-by-merge/action.yml @@ -1,5 +1,9 @@ name: Release by merge description: Create a release when a PR is merged into the release branch +inputs: + pre-release: + description: Whether the release is a pre-release + default: false runs: using: "composite" steps: @@ -17,6 +21,7 @@ runs: output-file: false skip-commit: true github-token: ${{ env.GITHUB_TOKEN }} + pre-release: ${{ inputs.pre-release }} - name: Create Release uses: actions/create-release@v1 @@ -26,4 +31,5 @@ runs: with: tag_name: ${{ steps.changelog.outputs.tag }} release_name: ${{ steps.changelog.outputs.tag }} - body: ${{ steps.changelog.outputs.clean_changelog }} \ No newline at end of file + body: ${{ steps.changelog.outputs.clean_changelog }} + prerelease: ${{ inputs.pre-release }}