From 70aa8f8dcdaec4cfbf21e0d78a4eb5d96e4f157d Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Fri, 1 Nov 2024 11:33:38 +0100 Subject: [PATCH] fix: Fix changelog prepending in git-cliff-release action --- git-cliff-release/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cliff-release/action.yaml b/git-cliff-release/action.yaml index c65735d..a630644 100644 --- a/git-cliff-release/action.yaml +++ b/git-cliff-release/action.yaml @@ -126,7 +126,7 @@ runs: if [[ -n "${{ inputs.existing_changelog_path }}" ]]; then out_file=$GIT_CLIFF_WORKDIR/existing_changelog.md - cp "${{ github.workspace }}/${{ inputs.existing_changelog_path }}" $out_file + cp "$GIT_CLIFF_REPOSITORY/${{ inputs.existing_changelog_path }}" $out_file sed '//,//d' -i $out_file dump_context_args+=(--unreleased)