Skip to content

ci: Support running from a worktree #30028

@maflcko

Description

@maflcko

Currently, when running the CI from a worktree, it will fail with:

++ git config --global ci.base-install-done
fatal: not a git repository: .git/worktrees/test2

git config --global is used here, because it allows to write a flag to storage on macOS and Linux. If someone knows of a different way to persist a flag on macOS and Linux, it should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions