Skip to content

Commit 304e617

Browse files
authored
fix: Fix changelog prepending in git-cliff-release action (#147)
1 parent 67cb412 commit 304e617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-cliff-release/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ runs:
126126
127127
if [[ -n "${{ inputs.existing_changelog_path }}" ]]; then
128128
out_file=$GIT_CLIFF_WORKDIR/existing_changelog.md
129-
cp "${{ github.workspace }}/${{ inputs.existing_changelog_path }}" $out_file
129+
cp "$GIT_CLIFF_REPOSITORY/${{ inputs.existing_changelog_path }}" $out_file
130130
sed '/<!-- git-cliff-unreleased-start -->/,/<!-- git-cliff-unreleased-end -->/d' -i $out_file
131131
132132
dump_context_args+=(--unreleased)

0 commit comments

Comments
 (0)