ahmadnassri / action-dependabot-auto-merge

Automatically merge Dependabot PRs when version comparison is within range
MIT License
342 stars 48 forks source link

Define merge strategy #184

Open mattiaverga opened 1 year ago

mattiaverga commented 1 year ago

Add a strategy flag to decide how to auto-merge the PR:

The default approve-and-merge will ensure backward compatibility with existent config files, however unexpected behavior will arise when using strategy: approve-and-merge together with approve: false, therefore when updating the config file the use of approve parameter is deprecated.

Fixes #176

Signed-off-by: Mattia Verga mattia.verga@tiscali.it

eiskrenkov commented 1 year ago

@mattiaverga wow, exactly what we need, thank you! @ahmadnassri great feature, will you consider to merge that?

yeikel commented 1 year ago

@ahmadnassri Sorry for the ping, but could you please review this?

ahmadnassri commented 1 year ago

apologies for the delay, been dealing with personal matters and have not looked at code in over a month...

confident I'll land this PR this week as part of a major rewrite