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)