gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
944 stars 62 forks source link

Force PR creation if the commits are made by the script #143

Open toindev opened 9 months ago

toindev commented 9 months ago

Use case: our scripts already make the commits like we want them (GPG signed), but if no change is detected, git-xargs will skip.

Somehow similar to: https://github.com/gruntwork-io/git-xargs/issues/39

Describe the solution you'd like a flag to force the push and PR creation

Describe alternatives you've considered Modifying the commits created by git-xargs after the fact

Additional context This allows GPG signatures, like proposed in https://github.com/gruntwork-io/git-xargs/pull/140, as well as chain of commits if an more understandable git history is desired.