Skip to content

Add optional git-lfs support to default checkoutΒ #1437

Description

@dso-cadf

πŸ“ Description of the feature

Feature Request: Optional Git LFS Support for Default Checkout Action

Description

It would be helpful to add an optional parameter that enables Git LFS support during the default checkout process for repositories with large files requiring LFS.

Example usage:

- uses: ansys/actions/<action>
  with:
    git-lfs: true

Default value:

git-lfs: false

Expected Behavior

When git-lfs is enabled, the action should perform the equivalent of a git lfs pull (or otherwise ensure that all LFS-managed files are downloaded and available) after the repository checkout.

Motivation

Many repositories rely on Git LFS for large assets. Currently, users need to add the checkout step manually with that option and provide checkout: false option. Providing built-in support through an optional parameter would simplify workflows while preserving the current behavior by default.

πŸ’‘ Steps for implementing the feature

No response

πŸ”— Useful links and references

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral improvements to existing features

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions