Skip to content

Command Substitution does not work #4210

@sakgoyal

Description

@sakgoyal

If I have something like this:

    - name: Create Pull Request
      uses: peter-evans/create-pull-request@v7
      with:
        commit-message: "Update Daily $(date -u +'%B %d, %Y')"
        title: "Update Daily $(date -u +'%B %d, %Y')"
        body: Automated daily update.

The substitution for the date does not work correctly.

I get this:
Image

Which is clearly not intended.

How can I get this to work on a linux runner?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions