Skip to content

[Feature] Please state the difference between fetch-depth and fetch_depth #1410

@rick-kenna

Description

@rick-kenna

Is this feature missing in the latest version?

  • I'm using the latest release

Is your feature request related to a problem? Please describe.

What is the difference between fetch-depth and fetch_depth? fetch-depth is mentioned here: IMPORTANT: For push events when configuring actions/checkout the fetch-depth should be set to either fetch-depth: 0 OR fetch-depth: 2 depending on your use case; and is in the examples. However when used, an unrecognized error is given and the you are informed to use fetch_depth. fetch_depth is in the Input Table and is defaulted to 50.

So which one are you supposed to use?

Describe the solution you'd like?

Either an explanation of the difference or just use one them. If the fetch-depth is related to --depth in cloning, maybe a pointer to it would be helpful.

Describe alternatives you've considered?

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions