ad-m / github-push-action

GitHub actions to push back to repository eg. updated code
MIT License
1.21k stars 229 forks source link

Use --force-with-lease instead of --force #80

Closed imba-tjd closed 2 years ago

imba-tjd commented 3 years ago

From my understanding, there are only benefits using --force-with-lease than --force. Correct me if I'm wrong.

ZPascal commented 2 years ago

@imba-tjd I fully agree to use --force-with-lease instead of --force.

ZPascal commented 2 years ago

Hi @imba-tjd, I've reverted the change because it's results in a bunch of issues. I think it would make sense to have such a sensitive force push functionality. I've created a separate PR that includes the functionality in a smoother way.