enable-github-automerge-action icon indicating copy to clipboard operation
enable-github-automerge-action copied to clipboard

Allow to pass enablepullrequestautomergeinput.commitBody to the request

Open jurijzahn8019 opened this issue 2 years ago • 1 comments

Hi there!

I woule like to have an input allowing to define commitBody for merge commit.

for example:

uses: alexwilson/[email protected]
with:
  github-token: "${{ secrets.GITHUB_TOKEN }}"
  merge-method: SQUASH
  commit-body: ${{ github.event.pull_request.body }}

or maybe as boolean, taking pr body automatically.

This will allow use case where commit must include contents of PR Body for further Changelog automations on repos.

Corresponding docs: https://docs.github.com/en/graphql/reference/input-objects#enablepullrequestautomergeinput

Thanks :)

jurijzahn8019 avatar Jun 02 '22 11:06 jurijzahn8019

sorry - missed this. is this still something you're after @jurijzahn8019?

alexwilson avatar Jul 14 '23 23:07 alexwilson