Skip to content

Conversation

@febo
Copy link
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
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.

3 participants