Skip to content

ci: Use single line args in git-cliff action#211

Merged
febo merged 1 commit into
mainfrom
febo/git-cliff-action-args
Jul 24, 2025
Merged

ci: Use single line args in git-cliff action#211
febo merged 1 commit into
mainfrom
febo/git-cliff-action-args

Conversation

@febo
Copy link
Copy Markdown
Collaborator

@febo febo commented Jul 24, 2025

Problem

Publishing the changelog of a release is currently failing with:

/home/runner/work/_temp/3b272696-5f5f-438d-98f4-f0084559016a.sh: line 2: --include-path: command not found

It seems that since updating the git-cliff action to v4 the multiline argument is being interpreted as multiple commands:

args: |
    "${{ steps.publish.outputs.old_git_tag }}"..main
    --include-path "${{ inputs.crate }}/**"
    --github-repo "${{ github.repository }}"

Solution

Set the args parameter as a single line.

@febo febo requested a review from joncinque July 24, 2025 21:19
Copy link
Copy Markdown
Collaborator

@joncinque joncinque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this fixes it!

@febo febo merged commit f784b88 into main Jul 24, 2025
10 checks passed
@febo febo deleted the febo/git-cliff-action-args branch July 24, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants