brokenpip3/Pre-commit auto update

A GitHub Action that will automatically update your pre-commit hooks version and create a PR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 23, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: brokenpip3/action-pre-commit-update@24b7a510db4356b7cb0a2d0b8f72d1226fa7195b # 0.0.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pr-createSpecify if you want to create the PR or notnotrue
pr-titlePR Titlenochore(pre-commit): auto update hooks
pr-branchPR Branchnoauto-update-pre-commit-hooks
pr-targetbranchPR Target branchnomain
github-tokenGithub Token, required if PR create is trueno
update-latestInstead of using the latest tag use the latest commit, equals to run with '--bleeding-edge'nofalse
update-freezeStore hashes in rev instead of tag names, equals to run with '--freeze'notrue
update-repoOnly update a specifi repository, equals to run with '--repo'no""
update-allfilesRun hooks vs all the files of the reponofalse
namedescription
update-hitTrue/False if changes in .pre-commit-config.yaml are present
optionsOptions used in pre-commit update command