pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

Feature request: Automatic updates without the continuous integration? #131

Closed peterjc closed 2 years ago

peterjc commented 2 years ago

Request: Could we disable the continuous integration on pre-commit.ci (i.e. ignore new commits and PR), but still have pre-commit.ci make PRs to update the dependencies in .pre-commit-config.yaml?

Use case: Systems where running all the checks in .pre-commit-config.yaml (often) exceed the 3 minute limit on pre-commit.ci, and are therefore being run elsewhere (e.g. GitHub Actions, CircleCI, TravisCI, etc). See e.g. https://github.com/biopython/biopython/issues/3958

Workaround: Use skip: [...] to skip (almost) all the hooks, so that pre-commit.ci runs (almost) no hooks.

Suggestion: Introduce skip: [*] or similar as the syntax for this request.

asottile commented 2 years ago

skip is the intended mechanism for this

peterjc commented 2 years ago

OK, so we'd just need a (long) multiple-hook skip entry. Thanks!