Skip to content

[Bug] dotnet-gitversion fails with "Couldn't find any remote tips from remote" #3657

@josefpihrt

Description

@josefpihrt

Describe the bug

Command dotnet-gitversion is run as a part of my GH workflow. When I create a PR which has a single commit then dotnet-gitversion command fails:

https://github.com/JosefPihrt/DotMarkdown/actions/runs/5891598645/job/15978994483?pr=39

When PR contains more than one commit the command dotnet-gitversion is executed successfully

https://github.com/JosefPihrt/DotMarkdown/actions/runs/5891741555/job/15979466559?pr=39

Context

I cannot merge PR with single commit

Your Environment

GH workflow

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions