Skip to content

4.1.2 enables sparse-checkout on builds that didn't ask for it #1652

@bewinsnw

Description

@bewinsnw

Since the release of 4.1.2 30 minutes ago our builds with action/checkout@v4 have been failing on this action with:

git: 'sparse-checkout' is not a git command. See 'git --help'

On the self-hosted runner:
~$ git --version
git version 2.25.1

I can see from aadec89 that this was not intended with this release - so that commit can't be working correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions