Closed mfix22 closed 5 years ago
@raboid might want to use something like https://www.npmjs.com/package/async-retry to simplify the retry logic between merge/squash/rebase.
https://github.com/dawnlabs/ranger/blob/master/src/pull/labeled.js#L85-L114
By default we have a 'merge when passing' label.
merge
action, we should look forsquash
in the title to change the merge method tosquash
(same goes forrebase
)squash when passing
andrebase when passing
config for users, but don't create those labels for them. That way they can just edit the label frommerge -> squash
and everything will work out-of-the-box