Skip to content

Pin markdownlint-fix-docker to the released version #578

@jmclong

Description

@jmclong

Thank you for maintaining this project!

My pre-commit hook using markdownlint-fix-docker always pulls from the latest version of the docker image. If there are new markdown lint rules introduced, this can break the pre-commit hook without any version updates in .pre-commit-config.yaml. A solution would be to pin the hook to the released version on each release.

markdownlint-fix-docker..................................................Failed
- hook id: markdownlint-fix-docker
- duration: 6.01s
- exit code: 1

Unable to find image 'ghcr.io/igorshubovych/markdownlint-cli:latest' locally
latest: Pulling from igorshubovych/markdownlint-cli

As a workaround, I swapped to use the non-docker version.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions