devmasx / merge-branch

A GitHub Action that merge PR branch to other branchs
161 stars 58 forks source link

Add regex support to target_branch input #29

Closed bholland-bh closed 2 years ago

bholland-bh commented 2 years ago

This change, updates the target_branch input parameter, to be regex compatible.

All branches in the repo, will be iterated over looking for a regex branch name match. On match, the changes will be auto-merged.

This maintains existing functionality, using the branch name explicitly, while also adding regex for advanced use cases