Describe the solution you'd like
Instead of just adding a force-option, it would make sense to add a push_options-input. User could then write their own logic which will then be passed to the git push command.
Describe alternatives you've considered
None
Additional context
In the README, we would have to make clear, that using git push --force can be dangerous.
Is your feature request related to a problem? Please describe. Users with protected branches can't easily do a force push to their repo. https://github.com/stefanzweifel/git-auto-commit-action/issues/71#issuecomment-623680574
Describe the solution you'd like Instead of just adding a
force
-option, it would make sense to add apush_options
-input. User could then write their own logic which will then be passed to thegit push
command.Describe alternatives you've considered None
Additional context In the README, we would have to make clear, that using
git push --force
can be dangerous.