pre-commit-ci / issues

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

[feature] Can autoupdate_branch be an array? #178

Closed Freed-Wu closed 1 year ago

Freed-Wu commented 1 year ago

https://pre-commit.ci/#configuration said autoupdate_branch is a string of branch name. Can it be an array, such as:

ci:
  autoupdate_branch:
    - main
    - old-version
asottile commented 1 year ago

nope, there is a single target per repo. an array opens it up to abuse