devmasx / merge-branch

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

Add an input to customize the merge message #18

Closed GregoryBevan closed 2 years ago

GregoryBevan commented 2 years ago

Hi,

I see that you use Octokit to merge a branch. It seems possible to add a commit message : https://www.rubydoc.info/github/pengwynn/octokit/Octokit/Client/Commits#merge-instance_method

My goal is to use your Github Actions in order to merge a branch when a milestone is closed. I want to add the milestone title to the merge message.

MisterGlass commented 2 years ago

Came here to ask for this. It looks easy to do, but I don't know Ruby

MisterGlass commented 2 years ago

Seems to have been as easy as it looked

MiguelSavignano commented 2 years ago

Thanks, @MisterGlass

GregoryBevan commented 2 years ago

Yes, thanks @MisterGlass