pre-commit-ci / issues

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

run pre-commit on all branches, not only on the default one #73

Closed sebhmg closed 3 years ago

sebhmg commented 3 years ago

pre-commit.ci appears to run only on the default github branch. I wish it runs upon commit on any branch were .pre-commit-config.yaml is present.

Possibly, also have the option to define in the config file the list of branches to run on, the same way we can in a github workflow yaml file.

asottile commented 3 years ago

this is intentionally not done as it doubles pull requests

sebhmg commented 3 years ago

assuming code changes always go through a pull request. But granted, that is a fair assumption... 😉