action-automerge
action-automerge copied to clipboard
How do I save the commit message to the target branch?
I want to use a commit message for the source branch. Can you tell me how to do it?
Looks like you can't until this bit changes.
For now, I've forked this repo and updated it so you can set a custom commit message:
- name: merge
uses: richard-scott/[email protected]
with:
github_token: ${{ github.token }}
source: 'master'
target: 'release'
message: "${{ github.event.commits[0].message }}"
https://github.com/marketplace/actions/automerger-action