Skip to content

LFS support #76

@maximveksler

Description

@maximveksler

Hey,

We're having some pretty large json files (for us the use case is graphana dashboards) that we prefer to store in the repo, as LFS links.

Using pre-commit as a GitHub action it worked well for us to configure the lfs: true on the checkout action.

    # Whether to download Git-LFS files
    # Default: false
    lfs: ''

However with pre-commit.ci it seems that no support for LFS based checkouts is offered. This in turn cause our builds to fail with

infrastructure/ansible/roles/shlomo/monitoring/files/grafana-shlomo-dashboard.json: Failed to json decode (Expecting value: line 1 column 1 (char 0))

image

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