From 00effc301f545cb25d1ba81ea6ba30af74b70521 Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Wed, 30 Apr 2025 20:36:40 +0100 Subject: [PATCH] feat(workflow): use conventional changelog file for release body --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1b00f747..db1f1138b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,6 +76,8 @@ jobs: with: # Use input tag for dispatch, otherwise default (inferred from github.ref) tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || '' }} + # Dynamically set the path to the changelog file based on the tag + body_path: changelog-${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name || github.ref_name }}.md draft: true # Create the release as a draft initially # Optionally, you can generate release notes automatically: # generate_release_notes: true