Skip to content

Feature request: Allow to configure the git clean parameters #823

Open
@0x53A

Description

@0x53A

We are using self-hosted runners and would like to persist certain cache directories between runs.
It would be really useful if the clean parameter could be extended from a bool to a string.

For example, in gitlab I can set

variables:
    GIT_CLEAN_FLAGS: "-ffdx -e DirectoryIWouldLikeToKeep"

This should even be backwards compatible by first checking if clean is either true or false.

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