Skip to content

Protect building the repository without a source control provider available #47298

@ViktorHofer

Description

@ViktorHofer

We had numerous incidents in the past where the repository wasn't buildable without the ".git" folder being available. This should be protected by nuking the .git folder away after fetching the repo (checkout) and passing in /p:DisableSourceLink (which is necessary as source link by default is only disabled locally, when not in CI).

More context in #47130.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions