Skip to content

Action must fail when options can't be honored due to downloading from API #1879

Open
@loganmzz

Description

@loganmzz

It seems action can fallback to API download if Git client is missing.

However:

  • it means .git directory is missing, and it's not a Git repository
  • Such no Git operation are permitted (whatever using CLI client or embedded client libriaries)

Possible invalid options in such case:

  • filter
  • sparse-checkout
  • sparse-checkout-cone-mode
  • fetch-depth
  • fetch-tags
  • submodules

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