Skip to content

pre-commit autoupdate does not include minor version #1314

Closed as duplicate of#390
@diego-pm

Description

@diego-pm

Description

I have typos configured as a pre-commit hook, but when running pre-commit autoupdate, the typos version passes from v1.33.1 to v1, without including the minor/patch versions. This is an inconvenient because I have to manually fix the version, and also makes it not possible to autoupdate hooks with a bot.

I have found that this seems to happen in some situations when the project is configured as a github action and a pre-hook. Relevant issues describing fixes are pre-commit/pre-commit#3052, pre-commit/pre-commit#1925.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-precommitS-triageStatus: New; needs maintainer attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions