pre-commit-ci / issues

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

pre-commit.ci overwrites changes made to its autoupdates. #49

Closed tobiasraabe closed 3 years ago

tobiasraabe commented 3 years ago

Hi,

thanks for the awesome service!

I have a minor issue with the service and it is that the bot updates open PRs with autoupdates using force pushes.

See this PR where I fixed something related to an updated hook and the bot overwrote the changes with the next autoupdate.

Can the bot be more careful in these situations?

asottile commented 3 years ago

you can always recover the changes by reverting the force push, the autoupdate happens once a week which should give you plenty of time to integrate the branch