ericcornelissen/tool-versions-update-action

Prevent `/pr` from force pushing and overriding user changes

Closed this issue · 0 comments

Relates to #4, #9
Caused by #140 (where this behavior was observed)

Summary

The /pr version of the Action will currently force push and override any further changes created by the user on a Pull Request it created. This can be counterproductive when the upgrade requires changes but, for whatever reason, hasn't been merged yet next time the Action runs. Thus, this behavior should be avoided. The underlying Action for creating the Pull Request has some documentation around this in the Common issues section.

While I don't think it makes sense to have an option to enable the overriding behavior, I'm open to adding an option for it on request.