Skip to content

Set the rev to a version instead of master #39

@soderluk

Description

@soderluk

"pre-commit assumes that the value of rev is an immutable ref (such as a tag or SHA) and will cache based on that. Using a branch name (or HEAD) for the value of rev is not supported and will only represent the state of that mutable ref at the time of hook installation (and will NOT update automatically)."

https://pre-commit.com/#using-the-latest-version-for-a-repository

Would be beneficial if the yaml also includes the latest version to be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions